Indometric


May 20
Wednesday
Web Development

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

  • Sharebar

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 answer to small options, that can either take principles or function as boolean principles. The module even aids in the creation of help and version information, taking much of the work out of things.
But, now and again you’ll need to support a large number of…


Post Tags:


Post a Comment

 


All content and source © 2010 Indometric. All rights reserved. See our Privacy Policy and DMCA Information