p5-Import-Into - Perl5 module to import packages into other packages

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename p5-Import-Into-1.002005nb4.tgz
Package name p5-Import-Into
Package version 1.002005nb4
Package release -
Package architecture amd64
Package type tgz
Category devel perl5
Homepage https://metacpan.org/release/Import-Into
License gnu-gpl-v2 OR artistic
Maintainer -
Download size 8.80 KB
Installed size 18.32 KB
Writing exporters is a pain. Some use Exporter, some use Sub::Exporter,
some use Moose::Exporter, some use Exporter::Declare ... and some things
are pragmas.
If you want to re-export other things, you have to know which is which.
Exporter subclasses provide export_to_level, but if they overrode their
import method all bets are off. Sub::Exporter provides an into parameter
but figuring out something used it isn't trivial. Pragmas need to have
their import method called directly since they affect the current unit
of compilation.
It's ... annoying.
However, there is an approach that actually works for all of these types.


Package Version Architecture Repository
p5-Import-Into-1.002005nb4.tgz 1.002005nb4 i386 NetBSD
p5-Import-Into - - -


Name Value
perl >= 5.30.0 < 5.32.0


Type URL
Mirror ftp.netbsd.org
Binary Package p5-Import-Into-1.002005nb4.tgz
Source Package p5-Import-Into

Install Howto

Install p5-Import-Into tgz package:

# pkg_add p5-Import-Into

See Also

Package Description
p5-Importer-0.025nb2.tgz Perl5 module for exporting symbols
p5-Inline-0.83nb1.tgz Perl5 module for writing Perl subroutines in other languages
p5-Inline-C-0.81nb1.tgz Write Perl Subroutines in C
p5-InlineX-C2XS-0.26nb1.tgz Convert from Inline C code to XS
p5-Internals-1.1nb10.tgz Write-protect Perl variables, manipulate refcounts
p5-JSON-4.02nb1.tgz Perl module converts between JSON and Perl data structure
p5-JSON-Any-1.39nb3.tgz Wrapper Class for the various JSON classes
p5-JSON-MaybeXS-1.004000nb2.tgz Use Cpanel::JSON::XS with a fallback to JSON::PP
p5-JSON-PP-4.04nb1.tgz JSON::XS compatible pure-Perl module
p5-JSON-RPC-1.06nb5.tgz JSON RPC 2.0 Server implementation for Perl
p5-JSON-XS-4.02nb1.tgz JSON serialising/deserialising, done correctly and fast
p5-JSON-XS-VersionOneAndTwo-0.31nb11.tgz Support versions 1 and 2 of JSON::XS
p5-JavaScript-Minifier-XS-0.11nb3.tgz XS based JavaScript minifier
p5-JavaScript-Value-Escape-0.07nb4.tgz Avoid XSS with JavaScript value interpolation
p5-Jcode-2.07nb12.tgz Perl5 module for handling various Japanese charsets