|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
Just a note: In recent perl versions (5.8.3 and newer), you don't have to inherit from Exporter any more. Instead, you can import Exporter's import method into your code (use Exporter qw(import);). This way, you don't have all those Exporter methods in your object / mixin. Could mixin help you? Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-) In reply to Re: How to write a Mixin without Exporter mess?
by afoken
|
|