in reply to Reg Exp Suggestion Needed
Works well to zero-pad the number for printing, but if you do any arithmetic on it, you'll need to repad it, because perl will take off the leading zeroes.$var = sprintf('%04d', $num);
kelan
Yak it up with Fullscreen ChatBox
|
|---|