Searched defs:getopts (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/Perldoc/
H A DGetOptsOO.pm6 # Rather like Getopt::Std's getopts
7 # Call Pod::Perldoc::GetOptsOO::getopts($object, \@ARGV, $truth)
17 # The return value of Pod::Perldoc::GetOptsOO::getopts is true if no errors,
29 sub getopts { subroutine
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Getopt/
H A DStd.pm7 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 ( subroutine
[all...]

Completed in 20 milliseconds