Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 musing on the Monastery: (5)
As of 2020-05-31 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?