perl-Getopt-OO-0.70.0-5-omv2015.0.noarch.rpm


Advertisement

Description

perl-Getopt-OO - An object oriented command line parser. It handles

Distribution: OpenMandriva Cooker
Repository: OpenMandriva Contrib x86_64
Package name: perl-Getopt-OO
Package version: 0.70.0
Package release: 5-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 45.27 KB
Download size: 23.57 KB
Official Mirror: abf-downloads.openmandriva.org
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 to describe how the command line arguments should be parsed. Note that by parsed, we mean what options expect values, etc. We check to make sure values exist on the command line as necessary -- nothing else. The caller is responsible for making sure that a value that he knows should be a file exists, is writable, or whatever. Command line arguments can be broken into two distinct types: options and values that are associated with these options. In windows, options often start with a '/' but sometimes with a '-', but in unix they almost universally start with a '-'. For this module options start with a '-'. We support two types of options: the short single dashed options and the long double dashed options. The difference between these two is that with this module the short options can be combined into a single option, but the long options 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'. Long options can not be combined this way, so '--help' for example must always stand by itself. The input template expects the option names as its keys. For instance if you were expecting '-xv --hello' as possible command line options, the keys for your template hash would be '-x', '-v', and '--hello'.

Alternatives

Provides

  • perl(Getopt::OO) == 0.70.0
  • perl-Getopt-OO == 0.70.0-5:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Getopt-OO rpm package:
      # urpmi perl-Getopt-OO

    Files

    • /usr/lib/perl5/vendor_perl/5.20.1/Getopt/OO.pm
    • /usr/share/doc/perl-Getopt-OO/Changes
    • /usr/share/doc/perl-Getopt-OO/README
    • /usr/share/man/man3/Getopt::OO.3pm.xz
    Advertisement
    Advertisement