in reply to Re^2: sending data thru a sub routine
in thread sending data thru a sub routine
and, inside the program:perl process_files.pl file1.txt file2.txt
The second approach would probably require a shell script under Un*x, or *.bat command script under Windows (or *.com command file under VMS, or whatever with other OS's) to loop over the two filenames. One of the advantages of the first approach is that it can be more portable across platforms.for $inputfile (@ARGV) { process_file ($inputfile); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: sending data thru a sub routine
by james28909 (Deacon) on May 12, 2014 at 01:44 UTC | |
by Laurent_R (Canon) on May 12, 2014 at 06:15 UTC |