update: 17 chars...sub all_eq { (@_{@_}=1)==keys%_ }
@_{@_}=0;keys%_<2
MeowChow s aamecha.s a..a\u$&owag.print
In reply to Re: Re: Golf Challenge: all elements of an array equal
by MeowChow
in thread Golf Challenge: all elements of an array equal
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |