Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
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? 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.
In reply to use and performance by mce
|
|