in reply to Re: Golf Challenge: all elements of an array equal
in thread Golf Challenge: all elements of an array equal

Interesting method. The bad news is that it can only be used once (try princepawn's test case, setting @d = qw/a a a a a a a/). But the good news is that it can be reduced to 18 :)
sub all_eq { (@_{@_}=1)==keys%_ }
update: 17 chars...
@_{@_}=0;keys%_<2
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print