p5-Perl6-Export-Attrs-0.000006.txz


Advertisement

Description

p5-Perl6-Export-Attrs - Perl 6 'is export(...)' trait as a Perl 5 attribute

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Latest amd64
Package filename p5-Perl6-Export-Attrs-0.000006.txz
Package name p5-Perl6-Export-Attrs
Package version 0.000006
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Perl6-Export-Attrs
License GPLv1+, ART10
Maintainer perl@FreeBSD.org
Download size 11.84 KB
Installed size 23.12 KB
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.
WWW: https://metacpan.org/release/Perl6-Export-Attrs

Alternatives

Package Version Architecture Repository
p5-Perl6-Export-Attrs-0.000006.txz 0.000006 i386 FreeBSD Ports Latest
p5-Perl6-Export-Attrs-0.000006.txz 0.000006 amd64 FreeBSD Ports Quarterly
p5-Perl6-Export-Attrs-0.000006.txz 0.000006 i386 FreeBSD Ports Quarterly
p5-Perl6-Export-Attrs - - -

Requires

Name Value
p5-PadWalker = 2.3
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Perl6-Export-Attrs-0.000006.txz
Source Package devel/p5-Perl6-Export-Attrs

Install Howto

Install p5-Perl6-Export-Attrs txz package:

# pkg install p5-Perl6-Export-Attrs

See Also

Package Description
p5-Perl6-Form-0.04_2.txz Implements the Perl 6 'form' built-in
p5-Perl6-Junction-1.60000_1.txz Perl6 style Junction operators in Perl5
p5-Perl6-Rules-0.03_1.txz Implements (most of) the Perl 6 regex syntax
p5-Perl6-Say-0.16_1.txz Perl 6 say (print, but no newline needed) function
p5-Perl6-Slurp-0.051005.txz Implements the Perl6 'slurp' built-in
p5-Perl6-Subs-0.05_2.txz Perl6::Subs - Define your subroutines in the Perl 6 style
p5-PerlCryptLib-1.11_1.txz Perl interface to Peter Guttman cryptlib API
p5-PerlIO-Layers-0.011_2.txz Query the properties/capabilities of filehandle
p5-PerlIO-Util-0.72_3.txz Selection of general PerlIO utilities
p5-PerlIO-eol-0.17.txz PerlIO layer for normalizing line endings
p5-PerlIO-gzip-0.20.txz Perl extension to provide a PerlIO layer to gzip/gunzip
p5-PerlIO-locale-0.10_1.txz PerlIO layer to use the encoding of the current locale
p5-PerlIO-utf8_strict-0.007.txz Fast and correct UTF-8 IO
p5-PerlIO-via-Bzip2-0.02_1.txz Perl extension to provide a PerlIO layer to bzip2/bunzip2
p5-PerlIO-via-MD5-0.07_1.txz PerlIO layer for creating an MD5 digest of a file
Advertisement
Advertisement