Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Closure producing 'Modification of read-only value' error

by nobull (Friar)
on Jun 11, 2005 at 19:09 UTC ( [id://465834]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Closure producing 'Modification of read-only value' error
in thread Closure producing 'Modification of read-only value' error

map, grep, for etc do the right thing.

The magic while construct does not make $_ and alias - it assigns to it. This is fundamentally different. That said, it bugs me that it doesn't do implicit localization.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-19 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found