... seems clearer to me. But then again, that's just me ;)if ( @list == grep { $_ == $list[0] } @list ) { &do_something; }
In reply to (ar0n) Re (2): Fastest way to compare multiple variables?
by ar0n
in thread Fastest way to compare multiple variables?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |