Skip Menu |

This queue is for tickets about the Apache-Dispatch CPAN distribution.

Report information
The Basics
Id: 39902
Status: resolved
Priority: 0/
Queue: Apache-Dispatch

People
Owner: Nobody in particular
Requestors: ideysus.bugrep [...] hassium.dyndns.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.10
Fixed in: (no value)



Subject: Fix for: 'Can't call method "info" on an undefined value'
Error: Can't call method "info" on an undefined value at /usr/local/share/perl/5.10.0/Apache/Dispatch/Util.pm line 196 Appears to happen all the time under Apache2::Dispatch, though I'm not sure if it depends on configuration. The following appears to be a fix, though please note that I am a perl newbie. This fix may break the Apache::Dispatch module: diff /usr/local/share/perl/5.10.0/Apache/Dispatch/Util.pm /root/Apache-Dispatch-0.10/lib/Apache/Dispatch/Util.pm 240c240 < my $pkg = shift; --- Show quoted text
>
243c243 < my $rc = $pkg->_stat($class, $log); --- Show quoted text
> my $rc = _stat($class, $log);
251c251 < $rc = $pkg->_recurse_stat($package, $log); --- Show quoted text
> $rc = _recurse_stat($package, $log);
CC: Geoffrey Young <geoff [...] modperlcookbook.org>
Subject: Re: [rt.cpan.org #39902] Fix for: 'Can't call method "info" on an undefined value'
Date: Wed, 08 Oct 2008 15:02:18 -0700
To: bug-Apache-Dispatch [...] rt.cpan.org
From: Fred Moyer <fred [...] redhotpenguin.com>
Thanks for the patch - I'll get this applied and release 0.11 shortly. Thanks also for the feedback on AnnoCPAN - I've made that change in the docs as well. Ideysus via RT wrote: Show quoted text
> Wed Oct 08 17:53:47 2008: Request 39902 was acted upon. > Transaction: Ticket created by ideysus > Queue: Apache-Dispatch > Subject: Fix for: 'Can't call method "info" on an undefined value' > Broken in: (no value) > Severity: Critical > Owner: Nobody > Requestors: ideysus.bugrep@hassium.dyndns.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=39902 > > > > Error: Can't call method "info" on an undefined value at > /usr/local/share/perl/5.10.0/Apache/Dispatch/Util.pm line 196 > > Appears to happen all the time under Apache2::Dispatch, though I'm not > sure if it depends on configuration. > > The following appears to be a fix, though please note that I am a perl > newbie. This fix may break the Apache::Dispatch module: > > > diff /usr/local/share/perl/5.10.0/Apache/Dispatch/Util.pm > /root/Apache-Dispatch-0.10/lib/Apache/Dispatch/Util.pm > 240c240 > < my $pkg = shift; > --- > 243c243 > < my $rc = $pkg->_stat($class, $log); > ---
>> my $rc = _stat($class, $log);
> 251c251 > < $rc = $pkg->_recurse_stat($package, $log); > ---
>> $rc = _recurse_stat($package, $log);
>
From: ideysus [...] hassium.dyndns.org
On Wed Oct 08 18:02:44 2008, fred@redhotpenguin.com wrote: Show quoted text
> Thanks for the patch - I'll get this applied and release 0.11 shortly. > > Thanks also for the feedback on AnnoCPAN - I've made that change in the > docs as well. >
Great, thanks. Just to clarify though, I've only been using Apache2:Dispatch and I haven't even looked at Apache::Dispatch so I have no idea what affect it will have on it. Thanks for the module.
Resolved with 0.12 release. 0.13 may be coming shortly to fix a cpan indexer issue.