in reply to Multiple numeric not or compare in if statement
Importing List::Util::none is a shorter way to achieve this
if ( none { $a == $_ } 3,7,88 ) { ...
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|