Name : perl-Exporter-Tiny
| |
Version : 1.6.0
| Vendor : Mageia_Org
|
Release : 1.mga9
| Date : 2022-11-22 14:50:54
|
Group : Development/Perl
| Source RPM : perl-Exporter-Tiny-1.6.0-1.mga9.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/9/x86_64/media/core/release |