diff Lib/IMPL/Object/Singleton.pm @ 144:b56ebc31bf18

Empty nodes no more created while transforming a post request to the DOM document minor speed improvements to the object CTOR caching Added support for a secure processing (and 'laundering' ) a CGI parameters Many minor fixes
author wizard
date Tue, 13 Jul 2010 02:05:38 +0400
parents d9dd3500ead3
children 4267a2ac3d46
line wrap: on
line diff
--- a/Lib/IMPL/Object/Singleton.pm	Thu Jul 08 23:46:49 2010 +0400
+++ b/Lib/IMPL/Object/Singleton.pm	Tue Jul 13 02:05:38 2010 +0400
@@ -10,9 +10,7 @@
 }
 
 sub instance {
-    my $self = shift;
-    
-    $instances{$_[0]};
+    $instances{$_[0]}
 }
 
 1;