Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: 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 pvaldes (Chaplain) |
on Jan 08, 2015 at 13:17 UTC ( [id://1112639]=note: print w/replies, xml ) | Need Help?? |
I'll suggest this instead
mmmh... this second line needs a var. Try something like this (untested):
I see also a problem here with 's{}'{}e. Delete the "'" --> s{}{}e
In Section
Seekers of Perl Wisdom
|
|