Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Dera Monks, Have create multiple file from one file now I want to match a pattern in each file at the same time do the replacement with adding one to the match pattern.

by hemantjsr (Initiate)
on Jan 05, 2015 at 16:17 UTC ( #1112207=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $lines[1] =~ 's{:20140924105028(\d+)}'{
    my $tp = Time::Piece->strptime($1, DATE_FORMAT);
    ($tp+ONE_MINUTE*2*$n)->strftime(DATE_FORMAT);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1112207]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2019-12-10 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?