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

Re: Future Perl development

From:
Juerd Waalboer
Date:
February 7, 2007 10:28
Subject:
Re: Future Perl development
Message ID:
20070207182812.GD25362@c4.convolution.nl
Nicholas Clark skribis 2007-02-07 16:26 (+0000):
> > Note that normally, unpack "H*" on a unicode string (like your $s) is a
> > violation of proper separation. 
> Ton supplied a patch that fixed this violation for blead. I was reluctant to
> apply it to 5.8.x (for all cases) because there is code out there expecting
> the undocumented behaviour to work.

IMHO these things should warn.

In my strict opinion, they should die. But I agree that from a
compatibility perspective, that is absolutely unacceptable.

But a warning would be nice. A warning like "Implicit access of internal
value at foo.pl line bar", with real explanation in perldiag, would be a
constructive and compatible way to literally warn people about the
possible effects of what they're doing.
-- 
korajn salutojn,

  juerd waalboer:  perl hacker  <juerd@juerd.nl>  <http://juerd.nl/sig>
  convolution:     ict solutions and consultancy <sales@convolution.nl>

Ik vertrouw stemcomputers niet.
Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.



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