in reply to IF Statement Testing

if ($expire < 1 ||  14 < $expire || int $expire != $expire) { die "Don't tamper with me!"; } or
my %check; undef @check{1..14}; if (! exists $check{$expire}) { die "Don't tamper with me!"; }
or
if ($expire !~ /^(?:[1-9]|1[0-4])$/) { die "Don't tamper with me!"; }
or
use Quantum::Superpositions; if ($expire != any(1..14)) { die "Don't tamper with me!"; }

and many other ways.