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);