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

Re: *foo{SCALAR}

Thread Previous | Thread Next
From:
Eric Brine
Date:
April 30, 2010 15:09
Subject:
Re: *foo{SCALAR}
Message ID:
m2xf86994701004301508tc43e7cf2z85d98215d7ef67cd@mail.gmail.com
On Fri, Apr 30, 2010 at 4:55 PM, Nicholas Clark <nick@ccl4.org> wrote:

> On Fri, Apr 30, 2010 at 08:04:43PM +0100, Zefram wrote:
> > Attached is a pair of patches that address the behaviour of
> > *foo{SCALAR}.  As noted in RT #73666, it surprisingly autovivifies.
>
> (Given that when I changed the implementation to what we have now, and
> didn't get it "right", so that sometimes *foo{SCALAR} was undef, at least
> one module on CPAN did fail tests. One of the YAML modules, IIRC.)
>

I'm guessing a lot more modules are unable to do their job properly by
keeping the existing behaviour than there are modules that would be broken
by changing it.

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