Name : perl-Getopt-Config-FromPod
| |
Version : 0.0.3
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 2.1
| Date : 2015-06-05 22:13:29
|
Group : Development/Libraries/Perl
| Source RPM : perl-Getopt-Config-FromPod-0.0.3-2.1.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Extract getopt configuration from POD
|
Description :
There are many and many \'Getopt::*\' modules on CPAN. Is this module yet another option parsing module?
*NO.*
This module is NOT to be another option parsing module but to be a companion of the modules.
The \'Getopt::*\' modules try to solve developers\' preference of option parsing. So, it is likely to be impossible to provide all-in-one option parsing modules. One of the common problems in option parsing is consistency among:
* 1
Availability in actual process
* 2
Document shown by, typically, -h option
* 3
Document shown by perldoc
Some modules such as the Getopt::Long::Descriptive manpage solves 1 and 2. Few modules such as the Getopt::Auto manpage solves 1, 2 and 3. So, if you want to keep all consistencies you need to stick some specific \'Getopt::*\' modules.
This module does not stick to specific \'Getopt::*\' module and provide a way to specify 1, 2 and 3 in POD.
To tell the truth, this module just collects option specifications distributed in POD. So, dupulication between POD documentation and specification are NOT eliminated. However, I believe it has some advantages to enable us to describe documentation and specification at the same place.
Configuration is described as POD section \'getopt\' like the follwings:
=for getopt \'v:\'
=for getopt \'port|p=i\'
=for getopt [ \'port|p=i\', \"the port to connect to\", { default => 79 } ]
You can also use =begin/=end pair but it is rarely necessary and useful.
=begin getopt [ \'port|p=i\', \"the port to connect to\", { default => 79 } ] =end getopt
They are eval\'ed so you can describe array references, hash references and so on as above.
|
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::Config::FromPod)
perl(Getopt::Config::FromPod::Extractor)
perl-Getopt-Config-FromPod
Requires :