Front page | perl.perl5.porters |
Postings from April 2010
*foo{SCALAR}
Thread Next
From:
Zefram
Date:
April 30, 2010 12:05
Subject:
*foo{SCALAR}
Message ID:
20100430190443.GY17280@lake.fysh.org
Attached is a pair of patches that address the behaviour of
*foo{SCALAR}. As noted in RT #73666, it surprisingly autovivifies.
Perhaps more surprisingly, there's an old configuration option for the
scalar slot to be vivified upon GV creation, which would amount to a
super-autovivification. (The option appears to stem from a now-obsolete
fear that not super-autovivifying might break something.) So these
patches remove both sources of autovivification, to reliably give the
expected semantics.
-zefram
Thread Next