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

Re: *foo{SCALAR}

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
April 30, 2010 20:01
Subject:
Re: *foo{SCALAR}
Message ID:
20100501030029.GB11826@klangraum.plasmasturm.org
* Eric Brine <ikegami@adaelis.com> [2010-05-01 00:10]:
> On Fri, Apr 30, 2010 at 4:55 PM, Nicholas Clark <nick@ccl4.org> wrote:
> > (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.

Yes! Agree completely. I recall this behaviour stumping me on
several occasions in the past, though any specifics of what I was
trying to do are lost to the mists of time.

Furthermore, I will venture that in all instances of breakage, it
will be not because the broken modules functionally rely on this
behaviour, but because they go out of their way to cope with this
eccentricity. Fixing such breakage will boil down to a removal of
make-work code (which may still not be trivial, naturally).

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

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