perl-App-Getconf-0.20.04-alt1.noarch.rpm


Advertisement

Description

perl-App-Getconf - singleton-like config store for command-line applications

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-App-Getconf
Package version: 0.20.04
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 56.76 KB
Download size: 56.76 KB
Official Mirror: ftp.altlinux.org
This module is yet another command line options parser. But not only. Actually, it's an option container. It's a response to a question: after parsing options (from command line and from config file), how do I pass them down the function call stack? There are two classic approaches. One utilizes global variables. This is not that convenient, because introduces some names treated in special way (not defined inside the current function). The other requires passing option container as an argument to each and every function (you can't always tell in advance that the function will never use the options on one hand, and API changes are tedious on the other). App::Getconf tries a different way, which is not entirely new: the inspiration for this module was the Log::Log4perl(3) manpage, which is Perl port of log4j Java library. The idea is simple: you need a value accessible similarly to a global variable, but declared locally.

Alternatives

Requires

Provides

  • perl(App/Getconf.pm) = 0.020.004
  • perl(App/Getconf/Node.pm)
  • perl(App/Getconf/View.pm)
  • perl-App-Getconf = 0.20.04-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-App-Getconf rpm package:
      # sudo apt-get install perl-App-Getconf

    Files

    • /usr/share/doc/perl-App-Getconf-0.20.04/Changes
    • /usr/share/doc/perl-App-Getconf-0.20.04/README
    • /usr/share/doc/perl-App-Getconf-0.20.04/TODO
    • /usr/share/perl5/App/Getconf.pm
    • /usr/share/perl5/App/Getconf/Node.pm
    • /usr/share/perl5/App/Getconf/View.pm
    Advertisement
    Advertisement