Hi -
-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
I am having a really strange problem in mod_perl. The following simple test handler:
#file:MyApache/HappyFunBall.pm # --------------------- package MyApache::HappyFunBall; use strict; use warnings; use Apache2 (); use Apache::RequestRec (); use Apache::Const -compile => qw( OK );
$r->print( $r->can( 'construct_url' ) ? 'CAN' : 'CAN NOT', " construct_url\n" ); require APR::URI;
cauze it's Apache::URI ;(
lookup construct_url To use method 'construct_url' add: use Apache::URI ();
we are working on making this process of figuring out where things are, not as painful as it is now.
On my production apache, it fails ( cannot find construct_url ). On my test apache (running on the _SAME_ maching, using the _SAME_ perl @INC array) ir works! The only difference I can see in the two servers are the Server and Document roots and the virtual hosts setup.
You probably load Apache::URI somewhere on your test machine. For example Apache::compat loads this module.
% grep Apache::URI lib/Apache/compat.pm use Apache::URI ();
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html