No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello Dera As I'm very new in Perl, created a code which will create multiple file with one file and each file have same value,this part is done.Now in second part want to replace matched pattern in each file with adding one to it.In output i want match a pattern 219 and add one to it and replace in file 2 (means in file2 value would be 220) and in file3 value would be 221 , same case with second value which is 20140924105028 example file01 output 12,219,20140924105028 file02 output 12,220,20140924105228 file03 output 12,221,20140924105428 but with the given code m not able to do it.Kindly help in this regard. In reply to Re^2: 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
|
|