I don't think that's what the OP wants.I think you misunderstood my post. I simply ran the OP's foreach code through the deparser to show how perl interprets the code. I simply showed the output of the OP's deparsed code. I did not suggest any new code.
In reply to Re^3: Learning to use "each"
by toolic
in thread Learning to use "each"
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |