I've read through
http://search.cpan.org/doc/JHI/perl-5.7.1/lib/Getopt/Std.pm

and it seems as though the following syntax should work:

getopt("nh",\%option);

however, it does not. when i use getopts rather than getopt

getopts("nh",\%option);

it does work. did i misread the cpan page that i referenced?

Reply via email to