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...
In reply to Re: Executing "perl -pi -e" in perl script
by almut
in thread Executing "perl -pi -e" in perl script
by nbokare
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |