in reply to Re: Iterating elements at different level
in thread Iterating elements at different level

$t+=$w*\1;
Should be:
$t+=$w*$1;
edit: I see you already figured it out and changed your post.


The way forward always starts with a minimal test.