in reply to Re: Dear Monks, Have created multiple files from one file ...
in thread 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.

Done the changes in code, although am not getting any error but interpolation not happeningg

  • Comment on Re^2: Dear Monks, Have created multiple files from one file ...

Replies are listed 'Best First'.
Re^3: Dear Monks, Have created multiple files from one file ...
by Corion (Patriarch) on Jan 01, 2015 at 18:09 UTC

    Maybe you should add some debugging prints to see whether $line[0] and $line[1] are actually getting their replacements?

    Maybe the input data does not match what you expect?