in reply to Re^2: upgrade to 5.8.4 breaks code -- how to fix?
in thread upgrade to 5.8.4 breaks code -- how to fix?

Does this bug hold with a perl 5.8.4 that is not compiled for threads
It's in all versions of 5.8.4. It occurs whenever my %h=() or my @a=() is used in a place that's expected to to return a list, such as the last statement in a function called in list contect, or more unlikely, @a=(my @b=()). The optimisation to get rid of the =() accidently makes the expression return the array or hash itself rather than a list of it's contents. Thus leading to the 'bizarre copy of hash' error.

Dave.