Does anybody know how to step through a LSQL perl module file (.pm) to verify that the code is compatabile with mod_perl loading it into memory without having to restart mod_perl to check it?
Sep 25, 2003, 9:25 AM
Veteran (2199 posts)
Sep 25, 2003, 9:25 AM
Post #2 of 3
Views: 3555
Try this from the command line:
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Code:
perl -cw -I/path/to/additional/libraries PerlModule.pmIvan
-----
Iyengar Yoga Resources / GT Plugins
Sep 25, 2003, 10:51 AM
Administrator (9387 posts)
Sep 25, 2003, 10:51 AM
Post #3 of 3
Views: 3561
Or better:
apachectl configtest
will load your mod_perl startup file and test for any compile errors. If you don't use apachectl, you can try:
httpd -t
which does a config file test.
Cheers,
Alex
--
Gossamer Threads Inc.
apachectl configtest
will load your mod_perl startup file and test for any compile errors. If you don't use apachectl, you can try:
httpd -t
which does a config file test.
Cheers,
Alex
--
Gossamer Threads Inc.