Description :
Getopt::OO is an object oriented tool for parsing command line arguments.It expects a reference to the input arguments and uses a perl hash todescribe how the command line arguments should be parsed. Note that byparsed, we mean what options expect values, etc. We check to make surevalues exist on the command line as necessary -- nothing else. The calleris responsible for making sure that a value that he knows should be a fileexists, is writable, or whatever.

Command line arguments can be broken into two distinct types: options andvalues that are associated with these options. In windows, options oftenstart with a \'/\' but sometimes with a \'-\', but in unix they almostuniversally start with a \'-\'. For this module options start with a \'-\'. Wesupport two types of options: the short single dashed options and the longdouble dashed options. The difference between these two is that with thismodule the short options can be combined into a single option, but the longoptions can not. For example, most of us will be familiar with the \'tar-xvf file\' command which can also be expressed as \'-x -v -f file\'. Longoptions can not be combined this way, so \'--help\' for example must alwaysstand by itself.

The input template expects the option names as its keys. For instance ifyou were expecting \'-xv --hello\' as possible command line options, the keysfor your template hash would be \'-x\', \'-v\', and \'--hello\'.

RPM found in directory: /mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/2011/i586/media/contrib/release