in reply to System call in Windows
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';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: System call in Windows
by csarid (Sexton) on Oct 24, 2008 at 19:55 UTC |