Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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: (4)
As of 2020-10-22 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (225 votes). Check out past polls.

    Notices?