in reply to Executing "perl -pi -e" in perl script
Also, I'd like to know other ways to accomplish the same task
As you alredy have a Perl script, you could write a routine that does the same as your -e command, plus the file renaming etc. required for the "inplace" edit...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Executing "perl -pi -e" in perl script
by nbokare (Novice) on Apr 08, 2010 at 11:30 UTC | |
by almut (Canon) on Apr 08, 2010 at 15:32 UTC |