in reply to script input from (command-linetext file) list
Then you can just loop through @ARGV as you feel the need.unless (@ARGV) { open CONF, "ciscoconf" or die "We're really in trouble now: $!"; while (<CONF>) { chomp; push @ARGV, $_; } close CONF; }
Granted, I was expecting a list of files to READ, and I wanted to use the magic <> construct, but something similar applies.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: script input from (command-linetext file) list
by merlyn (Sage) on Sep 16, 2000 at 23:57 UTC |