P
Perl Learner
I am using Getopt::Long to get command line options and I like the fact
that it gives a warning if the options are not given arguments.
But the problem is that it gives the warning and the program continues
to run.
How do i make it die after saying "option requires an argument" ?
I think there is a way to "catch" errors but I am unable to figure it
out.
Any direction in this regard would help a great deal.
Thanks.
that it gives a warning if the options are not given arguments.
But the problem is that it gives the warning and the program continues
to run.
How do i make it die after saying "option requires an argument" ?
I think there is a way to "catch" errors but I am unable to figure it
out.
Any direction in this regard would help a great deal.
Thanks.