Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: "ack" and replace in a directory... in Windows?by Anonymous Monk |
on Feb 29, 2012 at 02:19 UTC ( [id://956826]=note: print w/replies, xml ) | Need Help?? |
Populate @ARGV So $ perl -i -p -e ' BEGIN { @ARGV = `ack -f --perl`; } s/foo/bar/g; " See Iterator::Files and Iterator::Diamond
In Section
Seekers of Perl Wisdom
|
|