$input = sprintf("%011d", $input);
That oughtta do the trick.
--
perl -e "print qq/just another perl hacker who doesn't grok japh\n/"
simeon2000|http://holdren.net/
In reply to Re: Is There A Better Way?
by simeon2000
in thread Is There A Better Way?
by The_Shadow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |