Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Comparison by position and value

by steves (Curate)
on Jan 02, 2005 at 16:54 UTC ( #418794=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub compatible
    {
    ...
    
        print "$s1\n$s2\n", ($diff == 0) ? "compatible" : "incompatible", 
    +"\n\n";
    }
    
  2. or download this
    _8__3__19
    48____7__
    ...
    _8__3__19
    48_____7_
    incompatible
    
  3. or download this
    use strict;
    
    ...
        $s2 = shift(@tests);
        compatible($s1, $s2);
    }
    
  4. or download this
    _8__3__19
    48____7__
    ...
    _8__3__19
    48_____7_
    incompatible
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://418794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2020-10-28 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (260 votes). Check out past polls.

    Notices?