if( $days =~ m/^\d+$/ ) { ~ ~ all your code that depends on $days being numeric } else { ~ ~ print nicely nasty message about bad input }
In reply to Re: String/Numeric Manipulation
by shenme
in thread String/Numeric Manipulation
by Ms. T.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |