[NTLUG:Discuss] mod_perl question
Rick Matthews
k5wls at verizon.net
Mon Jun 2 10:28:30 CDT 2003
MadHat wrote:
>
snip
>
> I prefer source for Perl, Apache, and other such things but that is
> personal preference (but seems to make my life easier in the long run).
> As for CPAN, not everyone understands it is more than a site.
> http://search.cpan.org/ is a good place to start. There is also an
> interactive CPAN shell that will help you install the necessary modules
> (though not all), including grabbing dependencies when necessary.
>
snip
That's great information to have, thanks for posting it. I've saved
it away for next time.
Webmin supports a bit of that functionality in its "Perl Modules"
module, including the download make, test and install.
snip
>
> cpan> i /Constants/
> CPAN: Storable loaded ok
> <SNIP ... >
> Distribution C/CH/CHROMATIC/Devel-Constants-0.20.tar.gz
> Distribution D/DU/DUFFEE/Astro-Constants-0.09.tar.gz
> Distribution S/SA/SAMV/Pod-Constants-0.15.tar.gz
> Module Apache::Constants (D/DO/DOUGM/mod_perl-1.27.tar.gz)
> <SNIP ... >
> 51 items found
>
> So it should be included with mod_per...
snip
Yes, but notice that it is listed in mod_perl 1.27.
Here's what I found on <http://perl.apache.org/>:
A Reference to mod_perl 1.0 to mod_perl 2.0 Migration:
snip a bunch of stuff
--------------------------------
Apache::Constants
Apache::Constants has been replaced by three classes:
Apache::Const
Apache constants
APR::Const
Apache Portable Runtime constants
ModPerl::Const
mod_perl specific constants
See the manpages of the respective modules to figure out which constants
they provide. (XXX: not all manpages exist yet.)
META: add the info how to perform the transition. XXX: may be write a
script, which can tell you how to port the constants to 2.0? Currently Apache::compat doesn't provide a complete back compatibility
layer
--------------------------------
Encouraging, eh?
Thanks again for the super info.
Rick
More information about the Discuss
mailing list