Lines Matching full:getopt
1 package Getopt::Std;
10 Getopt::Std - Process single-character switches with switch clustering
14 use Getopt::Std;
19 getopt('oDI'); # -o, -D & -I take arguments
21 getopt('oDI', \my %opts); # -o, -D & -I take arg, values in %opts
39 The C<getopt()> function is similar, but its argument is a string containing
42 Unspecified switches are silently accepted. Use of C<getopt()> is B<not
52 C<getopt()> and C<getopts()> will also accept a hash reference as an optional
72 Note that due to excessive paranoia, if C<$Getopt::Std::STANDARD_HELP_VERSION>
76 to set C<$Getopt::Std::STANDARD_HELP_VERSION> to true.
79 C<$Getopt::Std::OUTPUT_HELP_VERSION>. One can print the messages of C<--help>
86 our @EXPORT = qw(getopt getopts);
98 # getopt('oDI'); # -o, -D & -I take arg. Sets opt_* as a side effect.
100 sub getopt (;$$) {
149 Getopt::Std->import;
182 $0 version $v calling Getopt::Std::getopts (version $myv),
307 Getopt::Std->import;