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.
- RFC195: Do not remove 'chop' PLEASE! root
- Re: RFC195: Do not remove 'chop' PLEASE! Michael G Schwern
- Re: RFC195: Do not remove 'chop' PLEASE! abigail
- Re: RFC195: Do not remove 'chop' PLEASE! Michael G Schwern
- Re: RFC195: Do not remove 'chop' PLEASE... abigail
- Re: RFC195: Do not remove 'chop' P... Michael G Schwern
- Re: RFC195: Do not remove 'cho... Uri Guttman
- Re: RFC195: Do not remove ... John Porter
- Re: RFC195: Do not remove ... Uri Guttman
- Re: RFC195: Do not remove ... Bart Lateur
- Re: RFC195: Do not remove ... abigail
- Re: RFC195: Do not remove ... Michael G Schwern
- Re: RFC195: Do not remove 'cho... abigail
- Re: RFC195: Do not remove 'chop' PLEASE! Bart Lateur
- Re: RFC195: Do not remove 'chop' PLEASE! Casey R. Tweten