in reply to Re: 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 (or multiplicity)? I'm just curious.

  • Comment on Re^2: upgrade to 5.8.4 breaks code -- how to fix?

Replies are listed 'Best First'.
Re^3: upgrade to 5.8.4 breaks code -- how to fix?
by dave_the_m (Monsignor) on Jun 05, 2004 at 21:34 UTC
    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.