in reply to Piping many individual files into a single perl script
I'm at a loss as to how to pipe each of the input files into the program.
program.pl file*
which is the same as
program.pl file1 file2 ...
Then get the names of the files from @ARGV
Update: Oops, not quite the same. On Windows, you'll need to do
use File::Glob qw( bsd_glob ); @ARGV = map bsd_glob($_), @ARGV;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Piping many individual files into a single perl script
by blazar (Canon) on Sep 29, 2008 at 14:01 UTC | |
by ikegami (Patriarch) on Sep 29, 2008 at 14:07 UTC | |
by blazar (Canon) on Sep 30, 2008 at 10:14 UTC | |
by ikegami (Patriarch) on Sep 30, 2008 at 15:47 UTC | |
by blazar (Canon) on Oct 11, 2008 at 19:47 UTC | |
by Anonymous Monk on Sep 29, 2008 at 14:11 UTC |