in reply to Re^2: front-pad a number with zero's
in thread front-pad a number with zero's

Where did you get this sprintf "%0${len}d", $number;
The sprintf documentation, perhaps?
printf '<%06s>', 12; # prints "<000012>"
BTW: The thread you responded to is 7 years old.
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]

Replies are listed 'Best First'.
Re^4: front-pad a number with zero's
by Anonymous Monk on Aug 27, 2011 at 01:35 UTC
    I'm replying to a ten year old thread!