in reply to Re: Getopt::Long return value
in thread Getopt::Long return value
If you look at @ARGV after the GetOptions call, it should contain the argument 1.
As the AM said, how does anyone know that the 1 is a mistaken argument? It looks like a file name to me (and to GetOptions)... what happens if you say -h 1 -cpu 1? It should complain.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Getopt::Long return value
by PetaMem (Priest) on Jun 26, 2001 at 10:48 UTC |