logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: test whether two arrays are equal: msg#00010

Subject: Re: test whether two arrays are equal
b> rewrite the part of the answer you think should change, then post it.

OK. Please make this the new result of
$ perldoc -q 'How do I test whether two arrays or hashes are equal?'
Found in /usr/share/perl/5.8/pod/perlfaq4.pod
       How do I test whether two arrays or hashes are equal?

+      For the simplest cases, one might use if("@frogs" eq "@toads"){...}.

       The following code works for single-level arrays.  It uses a...



<Prev in Thread] Current Thread [Next in Thread>