nitin1704 has asked for the wisdom of the Perl Monks concerning the following question:
I was reading mod_perl2 User's Guide. In a perl startup file section, the phrase "pre-compile common constants" was mentioned. What does that mean?
The startup file also "pre-loads commonly used modules" which I understand, but I don't get what compiling constants means. Thanks for the help!
Here is some relevant code (which I don't understand) from the startup file:
use Apache2::Const -compile => 'OK'; use APR::Const -compile => ':common';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Pre-compiling constants in mod_perl
by Anonymous Monk on Jul 17, 2012 at 06:51 UTC | |
by nitin1704 (Sexton) on Jul 18, 2012 at 01:49 UTC |
Back to
Seekers of Perl Wisdom