in reply to How do I match a number range?
print 'Yep' if grep {$_ == $Number} 5278..5391; [download]