diff Lib/IMPL/Resources/StringMap.pm @ 381:ced5937ff21a

Custom getters/setters support method names in theirs definitions Initial support for localizable labels in DOM schemas
author cin
date Wed, 22 Jan 2014 16:56:10 +0400
parents 2eed076cb944
children
line wrap: on
line diff
--- a/Lib/IMPL/Resources/StringMap.pm	Fri Jan 17 15:58:57 2014 +0400
+++ b/Lib/IMPL/Resources/StringMap.pm	Wed Jan 22 16:56:10 2014 +0400
@@ -82,7 +82,7 @@
 sub Resolve {
 	my ($self,$obj,$prop) = @_;
     
-    return ( eval { $obj->can($prop) } ? $obj->$prop() : undef );
+    return eval { $obj->$prop() };
 }
 
 1;