in reply to replace @ARGV args with Getopt::Long switches
you still need to read the file into the script:
untested
open ( FILE, $file{in} ) or die "can't open it:$!\n"; my @targets = < FILE >; close FILE; foreach my $target ( @targets ) { #### processing }
should do the trick
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re:(2) replace @ARGV args with Getopt::Long switches (graci)
by ybiC (Prior) on Apr 12, 2001 at 02:39 UTC | |
by jeroenes (Priest) on Apr 12, 2001 at 10:27 UTC |