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

(version question) Re (3): setting values in anonymous hash

by mwp (Hermit)
on Dec 18, 2000 at 15:15 UTC ( [id://47184]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: setting values in anonymous hash
in thread setting values in anonymous hash

Here's my stupid question for today. I suppose if I really wanted to know, I could load up 5.005. Why doesn't: defined or $_ = "" for values %$ref2; Work for versions < 5.6?

Replies are listed 'Best First'.
Re: (version question) Re (3): setting values in anonymous hash
by chipmunk (Parson) on Dec 18, 2000 at 19:43 UTC
    Starting in 5.6.0, the elements in the list returned by values() are the actual values of the hash. Before that, the elements returned by values() were copies of the values from the hash. This is mentioned in 5.6.0's perldelta documentation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found