$brian = 17; if($brian =~ /^1[0-9]$/){ print "$brian is between 10 and 19"; }