summaryrefslogtreecommitdiff
path: root/devel/p5-Perl6-Export/DESCR
blob: 5c011ca68c0ee7fe2a733bf72ad085511b64158e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
		...
	}