[Jifty-commit] r3437 - jifty/trunk/lib/Jifty/Module
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Jun 11 00:12:25 EDT 2007
Author: sky
Date: Mon Jun 11 00:12:24 2007
New Revision: 3437
Modified:
jifty/trunk/lib/Jifty/Module/Pluggable.pm
Log:
work around annoying Module::Pluggable bug
Modified: jifty/trunk/lib/Jifty/Module/Pluggable.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Module/Pluggable.pm (original)
+++ jifty/trunk/lib/Jifty/Module/Pluggable.pm Mon Jun 11 00:12:24 2007
@@ -51,6 +51,8 @@
# Module::Pluggable::Object::_require expects a true value (the error message) on failure
# On success, it expects you to return undef.
+ return if $module =~/\.#/;
+
local $UNIVERSAL::require::ERROR;
no warnings; # This is lexical and turns off exactly one warning below -- "Can't locate package in @ISA".
More information about the Jifty-commit
mailing list