in reply to Re: Erm? Bug or not? Weird behaviour in hash / list conversion
in thread Erm? Bug or not? Weird behaviour in hash / list conversion

Better yet... it appears to be entirely tied to the context of the hash-assignment operation, in a totally bizzare way:
[me@host]$ perl -e '$x = [%y = (1,2,1,2)];' Bizarre copy of ARRAY in anonlist at -e line 1. [me@host]$ perl -e '%y = (1,2,1,2); $x = [%y];' [me@host]$

------------
:Wq
Not an editor command: Wq
  • Comment on Re: Re: Erm? Bug or not? Weird behaviour in hash / list conversion
  • Download Code