pkgsrc/devel/p5-Perl6-Export/DESCR
abs ea27e1d897 Added devel/p5-Perl6-Export-0.07
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
		...
	}
2006-06-07 11:56:15 +00:00

15 lines
339 B
Text

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
...
}