Path to this page:
./
devel/p5-Perl6-Export,
Implements the Perl 6 is export(...) trait
Branch: pkgsrc-2021Q4,
Version: 0.009nb5,
Package name: p5-Perl6-Export-0.009nb5,
Maintainer: absThis 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)
- (2022-01-05) Package added to pkgsrc.se, version p5-Perl6-Export-0.009nb5 (created)