Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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