Re: $r losing its class membership

2003-12-03 Thread asher
On Wed, Nov 19, 2003 at 10:26:43AM +0100, Frank Maas wrote: > > 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 { > >

Re: $r losing its class membership

2003-11-18 Thread asher
On Tue, Nov 18, 2003 at 09:11:36AM +, Ged Haywood wrote: ... > What happens if you just say > > print STDERR "\$r = [$r]\n"; > > after the assignment to $r? This problem only seems to occur on our production site. Maybe I can reproduce it on a staging server by hammering it with requests, i

$r losing its class membership

2003-11-17 Thread asher
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; my $r = shift; my $rclass1 = ref $r; Then, further down: my