Should be:$t+=$w*\1;
edit: I see you already figured it out and changed your post.$t+=$w*$1;
In reply to Re^2: Iterating elements at different level
by 1nickt
in thread Iterating elements at different level
by punitpawar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |