You only need to use Exporter if you want to export symbols (e.g. subroutines) into the namespace of whoever uses the module. With OO, you typically access functionality via method calls (which are made from an object instance), so exporting the corresponding subs doesn't make a lot of sense.
In reply to Re: OOP and perl module
by Eliya
in thread OOP and perl module
by williamlee82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |