Categorized | Web Development

Using Getopt::Long: More Command Line Options in Perl

In the last article, we took a look at command line options and how we could read them in Perl using the Getopt::Std module. For many simple applications, that article covers all that you need to make use of command line options. When you need more command line options, you can make use of the Getopt::Long module, which is the subject of this article.
- The Getopt::Std module allows you to read and respond to short options, that can either take values or function as boolean values. The module even aids in the creation of help and version information, taking much of the work out of things.
However, sometimes you’ll need to support a large number of…

Read More




This post was written by:

Zacky - who has written 73 posts on Indometric.


Contact the author

Leave a Reply

Indometric.com contains various articles about computer news, tutorial and e-books