in reply to IF Statement Testing
ormy %check; undef @check{1..14}; if (! exists $check{$expire}) { die "Don't tamper with me!"; }
orif ($expire !~ /^(?:[1-9]|1[0-4])$/) { die "Don't tamper with me!"; }
use Quantum::Superpositions; if ($expire != any(1..14)) { die "Don't tamper with me!"; }
and many other ways.
|
|---|