On Wed Feb 11 2009 @  4:04, kevin liu wrote:
> Hi everybody:
> 
>         I have two arrays(@nwarray0 and @nwarray1) in my program and i want
> to make sure that all the elements in @nwarray0 could be found in @nwarray1.

Check 'perldoc -q array' - two or three of the FAQ answers touch on
different ways to compare arrays, test them for equality, etc. As Raymond
said, the basic answer seems to be "Use a hash," but there are lots of good
examples to play with.

HTH, T

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to