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.
In reply to Re: IF Statement Testing
by !1
in thread IF Statement Testing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |