Package : perl-Exporter-Tiny > RPM : perl-Exporter-Tiny-1.6.2-1.mga10.src.rpm
Basic items
Name | perl-Exporter-Tiny |
Version | 1.6.2 |
Release | 1.mga10 |
URL | https://metacpan.org/release/Exporter-Tiny |
Group | Development/Perl |
Summary | An exporter with the features of Sub::Exporter but only core dependencies |
Size | 97KB |
Arch | noarch |
License | GPL+ or Artistic |
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 @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`.
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 @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`.
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | x86_64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2023-08-30 05:20:50 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |