BSD Ports

devel/p5-Perl6-Export-Attrs 0.000006 DragonFly

Perl 6 'is export(...)' trait as a Perl 5 attribute

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
11.8 KiB, 23.1 KiB installed

Description

Implements a Perl 5 native version of what the Perl 6 symbol export mechanism will look like.

It's very straightforward:

\* If you want a subroutine to be capable of being exported (when
  explicitly requested in the use arguments), you mark it with the
  :Export attribute.
\* If you want a subroutine to be automatically exported when the module
  is used (without specific overriding arguments), you mark it with the
  :Export(:DEFAULT) attribute.
\* If you want a subroutine to be automatically exported when the module
  is used (even if the user specifies overriding arguments), you mark it
  with the :Export(:MANDATORY) attribute.
\* If the subroutine should also be exported when particular export
  groups are requested, you add the names of those export groups to the
  attribute's argument list.

That's it.

In the other systems

The newest version among them is 0.000006, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Perl6-Export-Attrs0.000006 newestnone known-[email protected]-
FreeBSDdevel/p5-Perl6-Export-Attrs0.000006 newestnone known-[email protected]-
NetBSDdevel/p5-Perl6-Export-Attrs0.000006nb9 newestnone known-[email protected]2026-07-16
HardenedBSDdevel/p5-Perl6-Export-Attrs0.000006 newestno data-[email protected]-
GhostBSDdevel/p5-Perl6-Export-Attrs0.000006 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Perl6-Export-Attrs

From DPorts:

cd /usr/dports/devel/p5-Perl6-Export-Attrs && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2