in reply to Re^4: What does my @x= (undef)x7; do?
in thread What does my @x= (undef)x7; do?
You do realise that you aren't passing the array into modify()? You're passing a list. And that list is being aliased.
And prior to the mostly pointless, blanket constanisation of the Perl sources, the (incorrect) attribution of a null C pointer to a scalar would not have been spuriously attributed to a "read-only value".
Two mistakes collide here:
Upshot: p5p have buggered Perl5 in their attempts to 'be correct'.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: What does my @x= (undef)x7; do?
by betterworld (Curate) on Nov 10, 2015 at 09:04 UTC | |
by BrowserUk (Patriarch) on Nov 10, 2015 at 11:34 UTC | |
Re^6: What does my @x= (undef)x7; do?
by AnomalousMonk (Archbishop) on Nov 10, 2015 at 17:46 UTC | |
by BrowserUk (Patriarch) on Nov 10, 2015 at 17:58 UTC | |
by AnomalousMonk (Archbishop) on Nov 10, 2015 at 18:42 UTC | |
by BrowserUk (Patriarch) on Nov 10, 2015 at 19:37 UTC | |
by AnomalousMonk (Archbishop) on Nov 12, 2015 at 01:32 UTC |