Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Not really. There's not enough info in your post but I assume the second version has some_func in the package's EXPORT array. The perfomance penalty is in the actual exporting not in the look-up. Unless your EXPORT array is insanely huge, the perfomance cost would be down in the noise - I would worry more about namespace pollution and collision before execution time. If you really care, just Benchmark the two approaches.
-derby
In reply to Re: package function calling
by derby
|
|