Stas Bekman wrote:
Danny Rathjens wrote:
I started getting this error sporadically from different pieces of code.
Both modules(cached) and scripts(not cached):
[error] PerlRun: `Undefined subroutine &Data::Dumper::Dumper
[snip]
I think it's due to your use of StatINC, please have a read of this
section:
http://perl.apache.org/docs/2.0/api/Apache/Reload.html#Problems_with_Scripts_Running_with_Registry_Handlers_that_Cache_the_Code
You should move to Apache::Reload anyway (for mp1 it's available on
CPAN, mp2 is a part of the core), though you will probably have the same
issue.
Thanks for the response. The problem is evidently related to that, but I am
using PerlRun, not Registry. And Data::Dumper is a core module that was
obviously not modified. So I wonder how the internal address is becoming
invalid. I guess it could be some bug in StatINC. It was an accident to
leave that enabled on my live server anyway, ;) So I am disabling that.
If it still happens, then I shall do some more work to trace down the bug.
Thanks again.
--
_.,-*~`^'~*-,._ Danny Rathjens _.,-*~`^'~*-,._
FireCast: Rock solid kiosk software: http://wirespring.com
--
Report problems: 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