Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Multiple numeric not or compare in if statementby LanX (Saint) |
on Jul 02, 2020 at 05:36 UTC ( [id://11118789]=note: print w/replies, xml ) | Need Help?? |
On a side note: Importing List::Util::none is a shorter way to achieve this
Updateif ( none { $a == $_ } 3,7,88 ) { ...
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|