BSD Ports

devel/p5-Import-Into 1.002005nb11 NetBSD

Perl5 module to import packages into other packages

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
8.9 KiB, 17.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/p5-Import-Into1.002005nb11
FreeBSDdevel/p5-Import-Into1.002005,1
OpenBSDdevel/p5-Import-Into1.002005p1
DragonFlydevel/p5-Import-Into1.002005,1
MidnightBSDdevel/p5-Import-Into1.002005,1
HardenedBSDdevel/p5-Import-Into1.002005,1
GhostBSDdevel/p5-Import-Into1.002005,1

Install

Binary package:

pkgin install p5-Import-Into

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Import-Into && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.002005nb11
NetBSD 10.1 aarch641.002005nb10
SmartOS / illumos x86_641.002005nb11
macOS 15 arm641.002005nb11

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0