in reply to Erm? Bug or not? Weird behaviour in hash / list conversion
Trying to wittle down your example gave me:
It definitely has something to do with the result of the hash assignment with duplicate keys being interpreted as a list last.$ perl -le 'print for %h = (1,1,1,1);' 1 1 1
Seems to fix it, but$ perl -le 'print join ".", @a = %h = (1,1,1,1);' 1.1.1.1
breaks it again.$ perl -le 'print join ".", %h = @a = (1,1,1,1);' 1..1.1
-sauoq "My two cents aren't worth a dime.";
|
|---|