diff options
Diffstat (limited to 'devel/p5-Perl6-Export/DESCR')
-rw-r--r-- | devel/p5-Perl6-Export/DESCR | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/p5-Perl6-Export/DESCR b/devel/p5-Perl6-Export/DESCR new file mode 100644 index 00000000000..5c011ca68c0 --- /dev/null +++ b/devel/p5-Perl6-Export/DESCR @@ -0,0 +1,15 @@ +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 + ... + } |