Hi,

Am Mittwoch, 10. Dezember 2003 21:19 schrieb Rod:
> What is the easiest way to test the first 3 characters of two words for
> a match.
>
> IE:  "dasf" test "dasg" to return positive.
>
>
> rod.

# return true, if the words differ
return unpack( "%32C3", $w1 ^ $w2 );
-- 
Boris

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to