Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.85 GDBM_FileChapter 8
Standard Modules
Next: 8.87 Getopt::Std
 

8.86 Getopt::Long

Lets your program accept command-line options with long names, introduced by --. Standard single-character options are also accepted. Options that start with -- may have an argument appended, following a space or an equals sign (=):

--foo=bar
--foo bar
Provides two functions: GetOptions and config.


Previous: 8.85 GDBM_FilePerl in a NutshellNext: 8.87 Getopt::Std
8.85 GDBM_FileBook Index8.87 Getopt::Std

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.