Lines Matching refs:getopts
7 getopt, getopts - Process single-character switches with switch clustering
15 getopts('oif:'); # -o & -i are boolean flags, -f takes an argument
17 getopts('oif:', \%opts); # options as above. Values in %opts
28 The getopts() function is similar, but you should pass to it the list of all
39 and getopts() will also accept a hash reference as an optional second argument.
49 If C<-> is not a recognized switch letter, getopts() supports arguments
73 @EXPORT = qw(getopt getopts);
166 $0 version $v calling Getopt::Std::getopts (version $myv),
215 # getopts('a:bc'); # -a takes arg. -b & -c not. Sets opt_* as a
218 sub getopts ($;$) {