erabus has asked for the wisdom of the Perl Monks concerning the following question:
I have an application that heavily uses objects. However, there are a couple
of utility modules that are used across the system. I implemented these modules
using the exporter. When I ran the profiler, I was surprised to find out that
over 20% of the time was spent in the exporter.
Is there a better way to handle utility functions? Should I be using a simple
#include? Or, should I convert these functions to objects?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Exporter alternative?
by perrin (Chancellor) on Apr 03, 2003 at 18:46 UTC | |
|
Re: Exporter alternative?
by Abigail-II (Bishop) on Apr 03, 2003 at 20:53 UTC | |
|
Re: Exporter alternative?
by shotgunefx (Parson) on Apr 03, 2003 at 20:46 UTC | |
|
Re: Exporter alternative?
by Anonymous Monk on Apr 04, 2003 at 07:48 UTC | |
|
Re: Exporter alternative?
by Anonymous Monk on Apr 04, 2003 at 21:43 UTC |