Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: "map" sometimes uses only the last mapped value

by ambrus (Abbot)
on Apr 18, 2006 at 20:25 UTC ( #544192=note: print w/replies, xml ) Need Help??


in reply to "map" sometimes uses only the last mapped value

I really don't understand how this could happen. turo's answer has reminded me to Aliasing bites, but I can't see how that could happen here, as the statement my ($f) = @_ copies the string passed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-05-28 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?