go ahead... be a heretic | |
PerlMonks |
Re: How do I dynamically declare a package name forby gildir (Pilgrim) |
on Apr 27, 2001 at 13:36 UTC ( [id://76029]=note: print w/replies, xml ) | Need Help?? |
I use this for long-running mod_perl modules:
This will include $class.pm only once, the first time it is refferenced. Ideal for mod_perl modules. So performance penalty of compiling "use $class .." code is suffered only once.
In Section
Seekers of Perl Wisdom
|
|