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

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


Branch: pkgsrc-2022Q3, Version: 0.009nb6, Package name: p5-Perl6-Export-0.009nb6, 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)

Filesize: 4.792 KB

Version history: (Expand)