> I've encountered a weird, intermittent problem. I have a Perl handler > that handles a certain URL. Sometimes it will fail because the $r > passed to it loses its class. > > The handler starts with: > > sub handler { > use strict;
Could you enter the line print STDERR "Handler called with ".(scalar @_)."arguments: ".join(',',@_)."\n"; here? For some reason it sounds familiar to a problem I once ran into which caused my non-prototyped handler to be called as a method (in which case $r is the 2nd argument). HTH --Frank -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html