in reply to Re: All array elements the same?
in thread All array elements the same?
If you wanted to compare two arrays (and I don't think that's what the original poster wanted) then you could use the Array::Compare module from CPAN which works in a similar manner to your code.
--
|
|---|