Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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.

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
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 scrutinizing the Monastery: (11)
As of 2016-07-01 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (414 votes). Check out past polls.