Getopt::Std(3p) Perl Programmers Reference Guide Getopt::Std(3p)
Getopt::Std(3p) Perl Programmers Reference Guide Getopt::Std(3p) # Getopt::Std(3p) Perl Programmers Reference Guide Getopt::Std(3p) NNAAMMEE # Getopt::Std - Process single-character switches with switch clustering SSYYNNOOPPSSIISS # use Getopt::Std; getopts('oif:'); # -o & -i are boolean flags, -f takes an argument # Sets $opt_* as a side effect. getopts('oif:', \%opts); # options as above. Values in %opts getopt('oDI'); # -o, -D & -I take arg. # Sets $opt_* as a side effect. ...