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

Re: Future Perl development

Juerd Waalboer
February 7, 2007 10:28
Re: Future Perl development
Message ID:
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 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  <>  <>
  convolution:     ict solutions and consultancy <>

Ik vertrouw stemcomputers niet.
Zie <>. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About