perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From barries <barr...@slaysys.com>
Subject Re: problem solved, but still weird!
Date Sun, 08 Apr 2001 14:13:03 GMT
On Sat, Apr 07, 2001 at 07:15:50PM -0700, Marcus R. Popetz wrote:
> At 01:29 PM 4/7/01, Steven D. Arnold wrote:
> >Hey folks,
> >
> >Well, my script seems to be running correctly now, but I don't understand why.
> >
> >I added 8192 to the debug value so I could get the in-browser links to the 
> >debugging information.  I also created an EMBPERL_VIRTLOG entry.  I then 
> >stopped and started apache, and for some reason it now works!
> 
> Had you defined foo and used it once without the method new() declared?  If 
> so, as I mentioned in an earlier email, mod_perl will only reload files who 
> mod date has change if they are in @INC.  Since you aren't running with 
> 'use strict;' it probably wouldn't complain about calling an undefined 
> method...

mod_perl won't reload modules by itself, you need Apache::Reload or
equivalent.  Setting PerlFreshRestart allows it to happin if you do a 
restart or graceful restart, but some modules don't take kindly to that
treatment, so Apache::Reload is a better way in most situations.

- Barrie

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message