Oh, my understanding is that when I specify
"output=s"
its a mandatory parameter and if not specified on command line,
GetOptions should return error.
Am i missing something?
Thanks,
Manish
On 09/09/2005 05:56 PM, Chris Devers wrote:
On Fri, 9 Sep 2005, Manish Sapariya wrote:
Shouldn't
[PLEASE don't top-post; it makes it hard to follow the conversation]
On Sep 9, Manish Sapariya said:
On 09/09/2005 05:56 PM, Chris Devers wrote:
On Fri, 9 Sep 2005, Manish Sapariya wrote:
Shouldn't following snippet throw error message when
it is called without any parameter?
Because this
Oh, my understanding is that when I specify
"output=s"
its a mandatory parameter and if not specified on command line,
GetOptions should return error.
Am i missing something?
Thanks,
Manish
On 09/09/2005 05:56 PM, Chris Devers wrote:
On Fri, 9 Sep 2005, Manish Sapariya wrote:
Shouldn't fol
On Fri, 9 Sep 2005, Manish Sapariya wrote:
> Shouldn't following snippet throw error message when
> it is called without any parameter?
>
> I can't see any error messsage, why?
Because this didn't have an error.
If you want it to quit, force it to quit.
#!/usr/bin/perl
use Getopt: