Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
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 scrutinizing the Monastery: (6)
As of 2020-02-25 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (113 votes). Check out past polls.

    Notices?