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.