in reply to Re^2: I have a few questions
in thread I have a few questions
Not tested
use strict; my $dir = "C:/some/dir"; my $script = "C:/path/to/csv2xls1.pl"; my @files = glob("$dir/*.csv"); for my $file (@files) { print "Processing $file ....."; my $ret_val = system( $script, $file ); print ret_val == 0 ? "OK\n" : "Not OK\n"; } print "Done!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: I have a few questions
by padawan_linuxero (Scribe) on Jan 11, 2008 at 17:23 UTC | |
by tachyon-II (Chaplain) on Jan 12, 2008 at 01:45 UTC |