Does this count as brute force?
--my %check; @check{@arr} = (1) x @arr; print "All the same" if keys %check == 1;
In reply to Re: All array elements the same?
by davorg
in thread All array elements the same?
by Grumpy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |