#!/usr/bin/perl -w use strict; print "Enter ID Number: "; chomp(my $input = <STDIN>); die "Not a number!" if ($input =~ /\D/); $input = sprintf("%011d",$input); print "input: $input\n";
In reply to Re: Is There A Better Way?
by Shendal
in thread Is There A Better Way?
by The_Shadow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |