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 {
> >
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
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