| 1 |
Perl6::Export version 0.009 |
| 2 |
========================= |
| 3 |
|
| 4 |
This module prototypes the Perl 6 'exported' and 'exportable' traits |
| 5 |
in Perl 5. |
| 6 |
|
| 7 |
Instead of messing around with @EXPORT arrays, you just declare which subs |
| 8 |
are to be exported (or are exportable on request) as part of those subs. |
| 9 |
|
| 10 |
For example: |
| 11 |
|
| 12 |
sub foo is exported { # by default |
| 13 |
... |
| 14 |
} |
| 15 |
|
| 16 |
sub bar is exportable { # on request |
| 17 |
... |
| 18 |
} |
| 19 |
|
| 20 |
|
| 21 |
INSTALLATION |
| 22 |
|
| 23 |
To install this module type the following: |
| 24 |
|
| 25 |
perl Makefile.PL |
| 26 |
make |
| 27 |
make test |
| 28 |
make install |
| 29 |
|
| 30 |
DEPENDENCIES |
| 31 |
|
| 32 |
This module requires these other modules and libraries: |
| 33 |
|
| 34 |
Filter::Simple |
| 35 |
|
| 36 |
|
| 37 |
COPYRIGHT AND LICENCE |
| 38 |
|
| 39 |
Copyright (C) 2003 Damian Conway |
| 40 |
|
| 41 |
This library is free software; you can redistribute it and/or modify |
| 42 |
it under the same terms as Perl itself. |
| 43 |
|