./devel/p5-Perl6-Export, Implements the Perl 6 is export(...) trait

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q2, Version: 0.009nb5, Package name: p5-Perl6-Export-0.009nb5, Maintainer: abs

This module prototypes the Perl 6 'exported' and 'exportable' traits
in Perl 5.

Instead of messing around with @EXPORT arrays, you just declare which subs
are to be exported (or are exportable on request) as part of those subs.

For example:

sub foo is exported { # by default
...
}

sub bar is exportable { # on request
...
}


Master sites: (Expand)

SHA1: 96e8247d3d25d870a8499d68691c5ff9f8a6a9d0
RMD160: 972764d93c8c0bfc49c5cd91334a14eb44727386
Filesize: 4.792 KB

Version history: (Expand)