Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Comparison by position and value

by Aristotle (Chancellor)
on Jan 02, 2005 at 23:40 UTC ( #418836=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub compatible {
        my( $l, $r ) = @_;
    ...
            $char ne "\0" and index( $xor, $char, $_ + 1 ) != -1
        } 0 .. length( $xor ) - 1;
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
        );
        is( compatible( @$strings ), $result, $testname );
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2020-06-02 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (17 votes). Check out past polls.

    Notices?