Name : perl-Getopt-Std-Strict
| |
Version : 1.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.19
| Date : 2017-01-12 16:05:34
|
Group : Development/Libraries/Perl
| Source RPM : perl-Getopt-Std-Strict-1.01-1.19.src.rpm
|
Size : 0.00 MB
| |
Packager : (none)
| |
Summary : Getopt::Std::Strict Perl module
|
Description :
Getopt::Std is nice but it could be even easier to use. This is how I would like Getopt::Std to behave.
Two main concepts are strengthened here, on top of Getopt::Std.
1) Variables are created even under use strict 2) Your option specs are passed at compile time.
The first import string to use is what you would send to Getopt::Std. If you have an option flag \'g\' and a paramater \'r\' taking an argument, the usage would be..
use strict; use Getopt::Std::Strict \'gr:\';
$opt_g;
This makes available throughout your program the variables $opt_g and $opt_r, as well as the hash %OPT, which contains $OPT{g} and $OPT{r}.
Compare that with the alternative..
use strict; use Getopt::Std;
my %o;
getopts(\'gr:\', \\%o);
$o->{g};
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_11_SP4/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Getopt::Std::Strict)
perl-Getopt-Std-Strict
Requires :