mce has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Does it have a noticable performance impact?
I have a OO framework of several modules, and dozens of programs that make use of these modules. In each module I always start with the same lines.
My question is, is it really needed to import Data::Dumper and Carp in every package file?use strict; use Data::Dumper; use Carp;
Does it have a noticable performance impact?
If it is use'd once (f.e. in my constructor class, which is called by every program in its ISA structure), I should be able to call Dumper by referring to Data::Dumper::Dumper,isn't it.
What is the best practice for this?
I have (not yet) any long running daemon.
I hope this question is clear enough.
---------------------------
Dr. Mark Ceulemans
Senior Consultant
BMC, Belgium
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: use and performance
by diotalevi (Canon) on Jun 10, 2003 at 10:28 UTC | |
Re: use and performance
by perrin (Chancellor) on Jun 10, 2003 at 14:55 UTC | |
by educated_foo (Vicar) on Jun 10, 2003 at 15:25 UTC | |
by perrin (Chancellor) on Jun 10, 2003 at 15:36 UTC | |
by educated_foo (Vicar) on Jun 11, 2003 at 03:38 UTC | |
by perrin (Chancellor) on Jun 11, 2003 at 03:49 UTC |
Back to
Seekers of Perl Wisdom