dallok has asked for the wisdom of the Perl Monks concerning the following question:
[Note: edited by the Editor to make it a little clearer.]open me, '>f:\scripts\text\nodeup.txt'; print me "$ARGV[1] $ARGV[2] is UP on $ARGV[0].\n"; close me $ROUTE="myfile" open route, $ROUTE or die " can't $route\n"; @lines=<ROUTE> my $TEST = $ARGV if (grep {$test eq $ARGV} @lines) { do command here} close ROUTE; exit 0;
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ON the ARGV again
by arturo (Vicar) on Nov 01, 2000 at 01:31 UTC |