|Syntactic Confectionery Delight|
Compare all array values without a loopby Anonymous Monk
|on Oct 19, 2004 at 14:15 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
if I have
@array=('A', 'B', 'C', 'D');
is there a way I can compare $foobar to every @array value in a single if statement? without a loop?
I dont think that works, but it might help describe what Im saying better... thanks