Mercurial > pub > Impl
diff Lib/IMPL/Config/Container.pm @ 59:0f3e369553bd
Rewritten property implementation (probably become slower but more flexible)
Configuration infrastructure in progress (in the aspect of the lazy activation)
Initial concept for the code generator
author | wizard |
---|---|
date | Tue, 09 Mar 2010 02:50:45 +0300 |
parents | 16ada169ca75 |
children | 76515373dac0 |
line wrap: on
line diff
--- a/Lib/IMPL/Config/Container.pm Fri Mar 05 20:14:45 2010 +0300 +++ b/Lib/IMPL/Config/Container.pm Tue Mar 09 02:50:45 2010 +0300 @@ -30,7 +30,7 @@ (my $prop = $AUTOLOAD) =~ s/.*?(\w+)$/$1/; my $child = $this->Chidren->{$prop}; - if (ref $child and $child->isa('IMPL::Config::Class')) { + if (UNIVERSAL::isa($child,'IMPL::Config::Class')) { return $child->instance(@_); } else { return $child;