use warnings; use strict; while (<DATA>) { chomp; print "This is an invalid entry: $_\n" if /\D/; } __DATA__ 555 3 1234 11-55 fadf 000 -402 1 2 1.2
In reply to Re: using int and the range function
by toolic
in thread using int and the range function
by Melderon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |