in reply to Validating command-line _parameters_ (not options)
for the effect you want.if (!defined($username) || !defined($dominio))
Or, I'll just report on how many arguments there are in the first place.
(more often a range of legal values)if (scalar(@ARGV) != 2)
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Validating command-line _parameters_ (not options)
by dserodio (Novice) on Sep 15, 2001 at 02:10 UTC | |
by John M. Dlugosz (Monsignor) on Sep 15, 2001 at 02:25 UTC |