in reply to Re: Re: Fastest way to compare multiple variables?
in thread Fastest way to compare multiple variables?

The problem with that is that the code will produce an incorrect result in the case:

my @list={"a","aaaa","aa","aaaaaaaa","a"};

In the above (admittedly pathological) case, it would report all equal when this is not true.

Replies are listed 'Best First'.
Re^4: Fastest way to compare multiple variables?
by topher (Scribe) on Feb 27, 2013 at 00:58 UTC

    A comment correcting a code snippet that was posted 12 years ago.

    I love Perlmonks. ;-)

    Christopher Cashell