in reply to LVALUE refs

BrowserUK independantly asked me about this issue and I ended up posting it as a bug to p5p. It's a bug because the behaviour differs between $r[0] = \substr ...; $r[1] = \substr ...; and $r[$_] = \substr ... for (0,1). It also looks like some hackers have picked it up and are applying a patch to correct the issue. Maybe that means it goes into the next version - maybe not. (current perl is 5.8.0)


Seeking Green geeks in Minnesota

Replies are listed 'Best First'.
Re: LVALUE refs
by hv (Prior) on Feb 17, 2003 at 12:01 UTC

    Just for the record, a fix for this bug has been applied to the development sources as change #18705, so you can expect it to appear in perl-5.10.0 and future maintenance releases such as perl-5.8.1.

    The patch is here, so you could even apply it to your local copy of 5.8.0 if you're desperate for it (but do remember to add a reference in the local_patches in patchlevel.h if you do that).

    Hugo