![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
RE: Re: Replace across files (extreme newbie)by takshaka (Friar) |
on May 23, 2000 at 23:21 UTC ( #14428=note: print w/replies, xml ) | Need Help?? |
The File::Find version would be something like this.
perl -MFile::Find -pi -e 'BEGIN {find sub {-f && push @ARGV, $File::Find::name}, "."} s/string x/string y/g'
In Section
Seekers of Perl Wisdom
|
|