Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Inserting Current time and date into an HTML file.

by Anonymous Monk
on Nov 23, 2012 at 06:49 UTC ( [id://1005221]=note: print w/replies, xml ) Need Help??


in reply to Inserting Current time and date into an HTML file.

Seriously?

perl -CSDL -MARGV::readonly -pi.orig -e "use constant JID => scalar gmtime; s{\Q<!--junkid-->\E}{JID()}ge; " bunch of files to stamp

Replies are listed 'Best First'.
Re^2: Inserting Current time and date into an HTML file.
by balajinagaraju (Sexton) on Nov 23, 2012 at 07:45 UTC

    Hi , Thanks for your response, can you please elaborate on what exactly the code is doing?.

      Hi , Thanks for your response, can you please elaborate on what exactly the code is doing?.

      What do you think it is doing?

      I think the code does nothing. It similar to this code which might do something Write to existing file with character insert

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-19 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found