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

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


Branch: pkgsrc-2011Q1, Version: 0.07nb2, Package name: p5-Perl6-Export-0.07nb2, 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
...
}


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: 23c4516253fa4390ea4a1be49563b29c7180ace4
RMD160: 2293703d8a3d9306b98ac8fbc08cbf84deb3308e
Filesize: 3.461 KB

Version history: (Expand)