Mercurial > pub > Impl
diff Lib/IMPL/DOM/Node.pm @ 173:aaab45153411
minor bugfixes
author | sourcer |
---|---|
date | Wed, 14 Sep 2011 18:59:01 +0400 |
parents | 76515373dac0 |
children | d1676be8afcc |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Node.pm Mon Jun 20 23:42:44 2011 +0400 +++ b/Lib/IMPL/DOM/Node.pm Wed Sep 14 18:59:01 2011 +0400 @@ -329,7 +329,7 @@ # prevent cyclic weaken($this->{$document}) if $this->{$document}; - $_->_updateDocRefs foreach @{$this->{$childNodes}}; + map $_->_updateDocRefs, @{$this->{$childNodes}} if $this->{$childNodes}; } sub _setParent {