On Sep 6, Mike Singleton said:

>Name "Getopt::Std::opt_h" used only once: possible typo.

What makes you think that's an error?  It's a WARNING, and won't affect
the way your program runs.  As the perldiag docs tell you, that warning
means that Perl saw you use that variable name only once, which makes it
SOUND like it was a typo; but you know better, that the Getopt::Std module
made that variable.  Just ignore the warning, or use the 2-arg form of the
getopts() function:

  my %args;
  getopts("hn:p:o:s:", \%args) or die;
  die if $args{h};

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.
[  I'm looking for programming work.  If you like my work, let me know.  ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to