Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Using SprintF in S & R

by Anonymous Monk
on Jul 11, 2017 at 17:48 UTC ( [id://1194847]=note: print w/replies, xml ) Need Help??


in reply to Using SprintF in S & R

s{<time>(\d+)</time>}{sprintf "<time>%06d</time>", $1}eg

Replies are listed 'Best First'.
Re^2: Using SprintF in S & R
by dirtdog (Monk) on Jul 11, 2017 at 18:06 UTC

    thank you! ...worked like a charm.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1194847]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-25 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found