in reply to Re: Inplace Editing
in thread Inplace Editing
Unfortunately, on Win32 platforms the shell does not expand wildcards in FILELIST like on Unix platforms, therefore you need to use something like this there:
> perl -MFile::DosGlob -i.bak -pe "BEGIN {@ARGV=glob(join ' ', @ARGV)} + s/foo/bar/g" *.txt *.bak
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
|
|---|