Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I agree with most of your points, but handrolling your own exporter really isn't all that bad1. If you look through Exporter.pm, you'll find that most of it is just syntactic sugar around the following bit of code2 that looks remarkably similiar to what you noted:
There is also a nearly identical call for $vars and @arrays and %hashes, etc. Exporter.pm is mainly just a nicer interface for this admitedly scary chunk of code.
1Assuming you're Lincoln Stein -Blake In reply to Re: Paradigm Shift - Don't use strict
by blakem
|
|