Getopt::Plus

Getopt::Plus is a Perl module with options wrapper with standard options, help system and more.
Download

Getopt::Plus Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Martyn J. Pearce
  • Publisher web site:
  • http://search.cpan.org/~fluffy/

Getopt::Plus Tags


Getopt::Plus Description

Getopt::Plus is a Perl module with options wrapper with standard options, help system and more. Getopt::Plus is a Perl module with options wrapper with standard options, help system and more.FILE_SIZE_HUMANMap from file size in bytes to human name, as hashref, keys being name (full name, lowercase, no trailing 's') and abbrev (one/two-letter abbreviation).Option TypesPermissable values to the type field of an option specifier.OPT_FLOAT OPT_INT OPT_STRING OPT_FDLEVEL OPT_BOOLEANError CodesERR_OKNot an error at all. Hence the name.ERR_ABNORMALNot so much an error as a non-erroneous circumstance worthy of signalling, e.g., grep finding no matches.ERR_UTILITYAgain, not really an error, rather a utility function being called --- e.g., the --help or --version. This gets an error code because it is almost certainly an error to call from batch scripts.ERR_USAGEThe program was called wrong.ERR_IO_READSome problem reading from disk or network (system read).ERR_IO_WRITESome problem writing to disk or network (system write).ERR_DB_READSome problem reading from db or similar (application read).ERR_DB_WRITESome problem writing to db or similar (application write).ERR_EXTERNALSome problem with an external application.ERR_INTERNALAn internal logic error (the sort of thing that should never happen, but has been caught by an internal assertion or sanity check).ERR_INPUTSome problem with the input file (which was read fine, but contains bad data). Requirements: · Perl


Getopt::Plus Related Software