On Mon, 29 Jan 2001 11:47:47 -0500, Uri Guttman wrote:

>well, according to this
>
>perl5.6.0 -le '%h = qw( a b c d ); $_ .= 1 for %h ; print values %h ; chop %h ; print 
>values %h'
>b1d1
>bd
>
>it doesn't appear to be a chop specific thing. unraveling a hash always
>seems to use aliases for the values. chop just takes a list like it
>always has.

If you're talking about values(%h) returning aliases to the values in
the hash: well, that's a pretty recent thing. It wasn't like that in pre
5.6.0 (or near) days. I remember complaining about this not being the
case in comp.lang.perl.misc, just one year ago (Deja finds a message
dated 01/16/2000, subject line "values() does not return LValues").

-- 
        Bart.

Reply via email to