system qw(perl -pib -e s/CAT/mouse/g D:\tmp\file.txt); # Or in case you need to replace an arg with a variable, then start wi +th: system "perl", "-pib", "-e", "s/CAT/mouse/g", 'D:\tmp\file.txt';
In reply to Re: System call in Windows
by runrig
in thread System call in Windows
by csarid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |