in reply to Golf Challenge: all elements of an array equal
sub all_eq3 { @_=sort@_; $_[0]eq pop } # 21 chars
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Golf Challenge: all elements of an array equal
by CheeseLord (Deacon) on Jul 14, 2001 at 12:35 UTC |