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

Re: UTF-8 caching code

Thread Previous
Nicholas Clark
March 23, 2006 07:55
Re: UTF-8 caching code
Message ID:
On Thu, Mar 23, 2006 at 04:48:51PM +0100, Rafael Garcia-Suarez wrote:
> On 3/23/06, Nicholas Clark <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About