in reply to Re^3: Piping many individual files into a single perl script
in thread Piping many individual files into a single perl script
I was about to post a reply with similar suggestions... Now the only new things I can add are
- on a Mac the
is definitely not required.BEGIN{ @ARGV=map glob, @ARGV; } - I also noticed that the OP is using #!C:\Perl as the shebang line. On a Mac this should be #!/usr/bin/perl for an Apple-supplied Perl, but will need a different path if it's a user-installed Perl (e.g., from MacPorts, or elsewhere)
In Section
Seekers of Perl Wisdom