Hello, I've been trying to update a former coworkers perl code.
But, I am new to perl. I am having trouble understanding the Getopt::Std
module.
I would like to add a fourth option to the code below, but I not sure how
to add it and get it to work.
Also I would like to know where I can find good
On Thu, Jul 26, 2001 at 09:32:41PM -0700, Bob Bondi wrote:
> Question: Is there a way to capture the case of bad flags?
Getopt::Std already emits error messages when it encounters a flag it's not
configured to deal with.
You could try setting up a $SIG{__WARN__} handler. If Getopt::Std is using
I really like this set of functions, very handy indeed. I've done this:
my %opts = ();
getopt('psuctfh', \%opts);#proxy serviceport url testclass testcase filename
my $proxy = $opts{p};
my $serviceport = $opts{s};
my $thisurl = $opts{u};
my $testclass = $opts{c};
my $testcase = $opts{t};
my $this