Welcome to the Monastery | |
PerlMonks |
Re: Surpised by foreach iterator limitationby gmpassos (Priest) |
on Apr 08, 2003 at 19:34 UTC ( [id://249051]=note: print w/replies, xml ) | Need Help?? |
Take a look in this node "Foreach & scalar ref: break of way that it is suposed to work!". I put it there to make a discussion about it. You can see a code of how to write/read to a scalar variable and affect directly the value of a key too (without Tie). And why what you want to do doesn't work, and shouldn't work...
Graciliano M. P.
In Section
Seekers of Perl Wisdom
|
|