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
In reply to Re: replace @ARGV args with Getopt::Long switches
by geektron
in thread replace @ARGV args with Getopt::Long switches
by ybiC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |