Re: test whether two arrays are equal

[email protected] (_brian_d_foy) Mon, 06 Dec 2004 18:42:38 -0600
Newsgroups perl.documentation
Message-ID <061220041842382057%[email protected]>
In article <[email protected]>, David H. Adler
<[email protected]> wrote:

> On Sun, Dec 05, 2004 at 10:32:28PM -0600, _brian_d_foy wrote:

> > In article <[email protected]>, Dan Jacobson
> > <[email protected]> wrote:

> > > Say, is if("@frogs" eq "@toads"){} worthy of being added to the top of
> > > $ perldoc -q 'How do I test whether two arrays or hashes are equal?'
> > > as a "beginners method (that has XYZ pitfalls, whereupon we try
> > > instead...)?

> > that wouldn't be something I'd ever recommend.

> I might be wrong, but I had guessed that the OP had meant that in the
> sense of "a beginner might think this would work, so maybe we should
> explicitly point out that it doesn't".

ah, that would make more sense.  In that case, sending a patch is
much better. :)

-- 
brian d foy, [email protected]