[Moose-commits] r7838 - Mouse/trunk/lib/Mouse
sartak at code2.0beta.co.uk
sartak at code2.0beta.co.uk
Sat Mar 7 00:14:22 GMT 2009
Author: sartak
Date: 2009-03-06 16:14:22 -0800 (Fri, 06 Mar 2009)
New Revision: 7838
Modified:
Mouse/trunk/lib/Mouse/Util.pm
Log:
No reason to do a string eval here
Modified: Mouse/trunk/lib/Mouse/Util.pm
===================================================================
--- Mouse/trunk/lib/Mouse/Util.pm 2009-03-07 00:14:18 UTC (rev 7837)
+++ Mouse/trunk/lib/Mouse/Util.pm 2009-03-07 00:14:22 UTC (rev 7838)
@@ -20,7 +20,7 @@
} else {
my $loaded = do {
local $SIG{__DIE__} = 'DEFAULT';
- eval "require MRO::Compat; 1";
+ eval { require MRO::Compat; 1 };
};
if ($loaded) {
$impl = \&mro::get_linear_isa;
More information about the Moose-commits
mailing list