nysus has asked for the wisdom of the Perl Monks concerning the following question:
So I'm working with mod_perl. It is blazing fast! HTML pages are consistently generated in 10 to 20 ms even immediately after a server restart. Total page generation time is under 200 ms with jQuery mobile.
In order to accomplish this, I've preloaded all the modules in my startup.pl file. However, one module that doesn't seem to preload is Data::Dumper. Even though it's in my startup file, I still have to do use Data::Dumper qw (Dumper) in each of my modules to be able to use it. Even if I do use Data::Dumper qw(Dumper) in my startup file, it still has no effect. I'm not sure why this is, though. Anyone know?
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Unable to preload Data::Dumper with mod_perl
by Corion (Patriarch) on Dec 04, 2017 at 12:12 UTC | |
by nysus (Parson) on Dec 04, 2017 at 13:10 UTC | |
Re: Unable to preload Data::Dumper with mod_perl
by Your Mother (Archbishop) on Dec 04, 2017 at 13:10 UTC | |
by nysus (Parson) on Dec 04, 2017 at 19:35 UTC | |
by Your Mother (Archbishop) on Dec 04, 2017 at 23:39 UTC | |
by nysus (Parson) on Dec 04, 2017 at 20:39 UTC | |
Re: Unable to preload Data::Dumper with mod_perl
by Anonymous Monk on Dec 04, 2017 at 12:23 UTC |