in reply to
Help with number conversion
sprintf
is your friend.
You want:
$fixed = sprintf('%03d', $num);
[download]
Hope this helps...
gav^
Comment on
Re: Help with number conversion
Download
Code
In Section
Seekers of Perl Wisdom