http://www.perlmonks.org?node_id=1090394


in reply to Re: Reading multiple files one line at a time from arguments
in thread Reading multiple files one line at a time from arguments

The advantage of being able to use *nix wildcards is a shell property (bash/tcsh/whatever) and irrelevant. The following works just as well:

perl -ple1 *.pl *.txt