in reply to
Opening, and editing multiple files?
A far simpler way would be from the command line. A Bash script to do it would look like this...
$ cd $1 $ perl -i -w script.pl *.$2
[download]
See
perlrun
for details on the command line switches. You can include an extension after -i and it will keep backups for you, as in -i.bak for instance.
Comment on
Re: Opening, and editing multiple files?
Download
Code
In Section
Seekers of Perl Wisdom