Name : perl-Getopt-Long-Less
| |
Version : 0.091
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.10
| Date : 2024-08-05 19:08:09
|
Group : Unspecified
| Source RPM : perl-Getopt-Long-Less-0.091-1.10.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : Like Getopt::Long, but with less features
|
Description :
This module is a reimplementation of Getopt::Long, with less features/configurability. Only the subset which I\'m currently using (which I think already serves a lot of common use cases for a lot of people too) is implemented.
Only three functions are implemented: GetOptions, GetOptionsFromArray, and Configure.
No configuring from \'use\' statement. No OO interface.
Much much less modes/configuration. No support for POSIXLY_CORRECT. We always do bundling (_this is not Getopt::Long\'s default_), we never ignore case (_this is not Getopt::Long\'s default_), we always permute, we always autoabbreviate, we always do GNU compatibility (allow \'--opt=VAL\' in addition to \'--opt VAL\' including allowing \'--opt=\'), we never do getopt_compat. Basically currently there\'s no mode you can configure (although pass_through might be added in the future).
No autoversion, no autohelp. No support to configure prefix pattern.
No support for GetOptions\' \"hash storage mode\" (where the first argument is a hashref) nor \"classic mode\" (where destination is not explicitly specified). Basically, the arguments need to be pairs of option specifications and destinations.
Currently no support for arrayref destination (e.g. \'\"foo=s\" => \\AATTary\'). No support for array desttype (\'\'foo=sAATT\' => ...\').
Also, this module requires 5.010.
So what\'s good about this module? Slightly less compile time overhead, due to less code. This should not matter for most people. I just like squeezing out milliseconds from startup overhead of my CLI scripts. That\'s it :-)
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-G/openSUSE_Tumbleweed/noarch |