|
|
| "be consistent" | |
| PerlMonks |
perlman:Getopt::Stdby root (Scribe) |
| on Dec 23, 1999 at 00:51 UTC ( #1212=perlfunc: print w/ replies, xml ) | Need Help?? |
Getopt::StdSee the current Perl documentation for Getopt::Std. Here is our local, out-dated (pre-5.6) version: ![]() getopt - Process single-character switches with switch clustering getopts - Process single-character switches with switch clustering
![]()
use Getopt::Std;
getopt('oDI'); # -o, -D & -I take arg. Sets opt_* as a side effect.
getopt('oDI', \%opts); # -o, -D & -I take arg. Values in %opts
getopts('oif:'); # -o & -i are boolean flags
|
|