in reply to Validating numeric input

unless ($value =~ /^\d+$/){ "$value contains a letter. Numbers don't have letters in them!!!\n"; die; }

Actually, just because a variable has something in it that does not match \d doesn't mean it is a letter...