develooper Front page | perl.perl5.porters | Postings from February 2003

Re: New SV Flag

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
February 9, 2003 15:23
Subject:
Re: New SV Flag
Message ID:
20030209231831.GG299@Bagpuss.unfortu.net
On Mon, Feb 03, 2003 at 01:14:59AM +0100, Arthur Bergman wrote:
> I would like all SVs that are living in the optree to be of this kind, 
> this would allow us to move constants out of the pad and let them be 
> PVMG so they can't be upgraded anymore, same applies for the 
> METHOD_NAMED SvPVIV.

Does this mean that the SVs would not be reference counted? They would
live as long as their ops? If so, this will SEGV once more:

perl  -le 'my $a; BEGIN {$a = \"Foo"}; $a = $$a';

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About