Name : perl-Exporter-Tiny
| |
Version : 1.6.2
| Vendor : Mageia_Org
|
Release : 1.mga10
| Date : 2023-08-30 05:20:55
|
Group : Development/Perl
| Source RPM : perl-Exporter-Tiny-1.6.2-1.mga10.src.rpm
|
Size : 0.10 MB
| |
Packager : tv < tv>
| |
Summary : An exporter with the features of Sub::Exporter but only core dependencies
|
Description :
Exporter::Tiny supports many of Sub::Exporter\'s external-facing features including renaming imported functions with the `-as`, `-prefix` and `-suffix` options; explicit destinations with the `into` option; and alternative installers with the `installer` option. But it\'s written in only about 40% as many lines of code and with zero non-core dependencies.
Its internal-facing interface is closer to Exporter.pm, with configuration done through the AATTEXPORT, AATTEXPORT_OK and %EXPORT_TAGS package variables.
Exporter::Tiny performs most of its internal duties (including resolution of tag names to sub names, resolution of sub names to coderefs, and installation of coderefs into the target package) as method calls, which means they can be overridden to provide interesting behaviour.
Utility Functions These are really for internal use, but can be exported if you need them.
`mkopt(\\AATTarray)` Similar to `mkopt` from Data::OptList. It doesn\'t support all the fancy options that Data::OptList does (`moniker`, `require_unique`, `must_be` and `name_test`) but runs about 50% faster.
`mkopt_hash(\\AATTarray)` Similar to `mkopt_hash` from Data::OptList. See also `mkopt`.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/cauldron/i586/media/core/release |