Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 766e386d241cab7572b362d756ffbf4a

perl-Exporter-Tiny-0.42.0-1.mga5.noarch.rpm

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 `installler` 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 @EXPORT, @EXPORT_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(\@array)`
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(\@array)`
Similar to `mkopt_hash` from Data::OptList. See also `mkopt`.

Sources packages:

Other version of this rpm: