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 | |
by Anonymous Monk on Nov 23, 2012 at 07:54 UTC |
In Section
Seekers of Perl Wisdom