G'day purnak,
Welcome to the Monastery.
From "perlsyn: Foreach Loops":
"If any part of LIST is an array, foreach will get very confused if you add or remove elements within the loop body, for example with splice. So don't do that."
— Ken
In reply to Re: whats wrong with this code?
by kcott
in thread whats wrong with this code?
by purnak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |