Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Surpised by foreach iterator limitation

by gmpassos (Priest)
on Apr 08, 2003 at 19:34 UTC ( #249051=note: print w/replies, xml ) Need Help??


in reply to Surpised by foreach iterator limitation

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.
"The creativity is the expression of the liberty".

  • Comment on Re: Surpised by foreach iterator limitation

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://249051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2021-07-26 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?