develooper Front page | perl.perl5.porters | Postings from March 2006

Re: UTF-8 caching code

Thread Previous
From:
Nicholas Clark
Date:
March 23, 2006 07:55
Subject:
Re: UTF-8 caching code
Message ID:
20060323155533.GK32132@plum.flirble.org
On Thu, Mar 23, 2006 at 04:48:51PM +0100, Rafael Garcia-Suarez wrote:
> On 3/23/06, Nicholas Clark <nick@ccl4.org> wrote:
> > I think that it would be useful to have a command line (sub)flag to set
> > ${^UTF8CACHE} to -1, to allow easy debugging of scripts. Should this be an
> > option on -C, or -D? Any suggestions?
> 
> So perl would emit more diagnostics with ${^UTF8CACHE} == -1 ? (and

Yes, by panicking.

> IIUC will silently crash into the wall with ${^UTF8CACHE} == 0 ?)

Well, just go slowly. But definitely correctly, if it turns out that there
are any UTF-8 caching bugs.

Nicholas Clark


Thread Previous


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