Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Anonymous Monk
on Nov 23, 2012 at 06:49 UTC ( #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


Comment on Re: Inserting Current time and date into an HTML file.
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
Node Status?
node history
Node Type: note [id://1005221]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (17)
As of 2014-07-31 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (249 votes), past polls