laziness, impatience, and hubris | |
PerlMonks |
Re: Using SprintF in S & Rby Anonymous Monk |
on Jul 11, 2017 at 17:48 UTC ( [id://1194847]=note: print w/replies, xml ) | Need Help?? |
s{<time>(\d+)</time>}{sprintf "<time>%06d</time>", $1}eg
In Section
Seekers of Perl Wisdom
|
|