diff Lib/IMPL/Resources/Format.pm @ 383:2f16f13b000c

DOM localization
author cin
date Thu, 23 Jan 2014 17:26:34 +0400
parents 010ceafd0c5a
children
line wrap: on
line diff
--- a/Lib/IMPL/Resources/Format.pm	Thu Jan 23 02:35:28 2014 +0400
+++ b/Lib/IMPL/Resources/Format.pm	Thu Jan 23 17:26:34 2014 +0400
@@ -35,7 +35,7 @@
 sub _defaultResolver {
     my ($obj,$prop) = @_;
     
-    return ( eval { $obj->can($prop) } ? $obj->$prop() : undef );
+    return eval { $obj->$prop() };
 }
 
 1;