On Windows, *.txt isn't expanded by the shell as in Linux. But Perl can expand it itself: just use glob.
There is a module for that: Win32::Autoglob. With a minor patch, it would also work on the nearly-dead other Microsoft operating systems MS-DOS and OS/2 (see Re^3: Perl Rename).
Alexander
In reply to Re^2: One-liner search and replace with multiple files...on Windows.
by afoken
in thread One-liner search and replace with multiple files...on Windows.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |