diff Lib/IMPL/Object/Abstract.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 a7efb3117295
children eb3e9861a761
line wrap: on
line diff
--- a/Lib/IMPL/Object/Abstract.pm	Thu Jul 08 23:46:49 2010 +0400
+++ b/Lib/IMPL/Object/Abstract.pm	Tue Jul 13 02:05:38 2010 +0400
@@ -29,14 +29,14 @@
 				push @sequence, sub {
 				    my $this = shift;
 				    $this->$_($mapper->(@_)) foreach @$superSequence;
-				};
+				} if @$superSequence;
 		    }
 		} else {
 		    warn "Unsupported mapper type, in '$class' for the super class '$super'" if $mapper;
 		    push @sequence, sub {
 				my $this = shift;
 				$this->$_() foreach @$superSequence;
-		    };
+		    } if @$superSequence;
 		}
     }