Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 imbibing at the Monastery: (15)
As of 2015-07-02 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls