Subject: | Util::module_available broken for code references |
Log::Log4perl::Util::module_available does not work properly for code
references that may reside in @INC.
the attached patch fixes that issue. this may be related to bug 24884 as
well.
Subject: | Util.diff |
Index: Util.pm
===================================================================
RCS file: /cvsroot/log4perl/Log-Log4perl/lib/Log/Log4perl/Util.pm,v
retrieving revision 1.5
diff -r1.5 Util.pm
29c29
< return 1 if $dir->($dir, $relpath);
---
> return 1 if $dir->($dir, $relpath_with_forward_slashes);
31c31
< return 1 if $dir->[0]->($dir, $relpath);
---
> return 1 if $dir->[0]->($dir, $relpath_with_forward_slashes);