develooper Front page | perl.perl5.porters | Postings from April 2010


Thread Next
April 30, 2010 12:05
Message ID:
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.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About