Name : perl-Getopt-FileConfig
| |
Version : 1.0001
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.1
| Date : 2015-01-23 02:14:00
|
Group : Development/Libraries/Perl
| Source RPM : perl-Getopt-FileConfig-1.0001-6.1.src.rpm
|
Size : 0.02 MB
| |
Packager : (none)
| |
Summary : Perl module for parsing configuration files
|
Description :
Getopt::FileConfig is a module for processing of configuration files which define some variables to be exported into the callers namespace(s). These variables can be optionally overriden from environment variables and unconditionally from command line arguments. \'Getopt::Long\' is used for the last part.
NOTE: Defaults are set for all variables first. Only then the command line options are applied.
The idea is that you don\'t really want to declare globals inside your perl scripts and even less to provide them some default values that are of limited usefulness. Instead you define them in a config file.
The file is line based, each line has the form:
< command-line-option> < string-for-getopt> < namespace> < varname> < default>
Lines that match \'/^#/\' or \'/^\\s*$/\' are skipped. The namespace can be specified as . and it stands for main.
Eg (for my mkmenu script that generates ssh menus for windowmaker):
name =s main NAME \"matevz\" group =s main GROUP \"f9base\" term =s main TERM \"rxvt\"
Then you can run it as \'\'mkmenu -name root\'\'.
Read the \'Getopt::Long manual\' for explanation of the second parameter. For void argument specification (which means bool), use \'\'b\'\' or \'\'bool\'\'. To suppress passing of this variable to \'Getopt::Long\' use \'\'x\'\' or \'\'exclude\'\'.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-G/openSUSE_13.2/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Getopt::FileConfig)
perl-Getopt-FileConfig
Requires :