yes, just use the filename expansion of your shell, i.e. perl -i.bk do_it *.bar and all files in the current directory ending in .bar are processed by the script in place (the backups have the additional ending .bk)
-- Hofmator
In reply to Re3: modifying multiple files
by Hofmator
in thread modifying multiple files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |