Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / p5-Perl6-Export / DESCR
1 This module prototypes the Perl 6 'exported' and 'exportable' traits
2 in Perl 5.
3
4 Instead of messing around with @EXPORT arrays, you just declare which subs
5 are to be exported (or are exportable on request) as part of those subs.
6
7 For example:
8
9         sub foo is exported {           # by default
10                 ...
11         }
12
13         sub bar is exportable {         # on request
14                 ...
15         }