in reply to Fastest way to compare multiple variables?
if ( !grep { $_ != $a } ($b, $c, $d, $e...) ) { &do_something }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(ar0n) Re (2): Fastest way to compare multiple variables?
by ar0n (Priest) on May 15, 2001 at 21:55 UTC | |
by MeowChow (Vicar) on May 15, 2001 at 23:03 UTC | |
|
Re: Re: Fastest way to compare multiple variables?
by Anonymous Monk on May 15, 2001 at 21:31 UTC | |
by cLive ;-) (Prior) on May 15, 2001 at 21:41 UTC |