-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dear Stas and fellow mod_perl maintainers,
I would like to be able to do the "perl -cx"-on-the-Apache-config-file
trick described in the Eagle book ("Debugging <perl> sections" in
chapter 8, page 420 in my edition but 428 in some others according to
Google), but I run across the following problem:$ perl -e 'use strict; use Apache2; use Apache::compat;' Bareword "Apache::ServerUtil::server_root" not allowed while "strict subs" in use at /usr/local/lib/perl/5.6.1/Apache2/Apache/compat.pm line 329. BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl/5.6.1/Apache2/Apache/compat.pm line 412. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1.
And consequently perl -cx on my Apache configuration file does not reliably syntax-check my <perl> section.
I am running mod_perl 1.999.20, I reckon everything else is irrelevant to this particular problem.
Regards,
- -- Dominique QUATRAVAUX Ing�nieur senior 01 44 42 00 08 IDEALX
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB/5nhMJAKAU3mjcsRAmMoAJwMzOkfn9itHdRlFdrYprKNxW4mbgCeJSv4 aCJPhcRBLl6cTXuGnSBEU8g= =PY6W -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
