develooper Front page | perl.perl5.porters | Postings from January 2001

Re: qu operator? [inaba@st.rim.or.jp: patch for 0x00-0xff alwaysproduce bytes (Was: Re: One more patch for UTF8)]

Thread Previous | Thread Next
From:
Peter Prymmer
Date:
January 15, 2001 12:30
Subject:
Re: qu operator? [inaba@st.rim.or.jp: patch for 0x00-0xff alwaysproduce bytes (Was: Re: One more patch for UTF8)]
Message ID:
Pine.OSF.4.10.10101151232140.167867-100000@aspara.forte.com

On Sun, 14 Jan 2001, Simon Cozens wrote:

> On Sat, Jan 13, 2001 at 09:36:46PM -0600, Jarkko Hietaniemi wrote:
> >    chr returns bytes for 0x00-0xff,
> >    vstring is bytes if all `revison' < 256,
> >    a string containing \x{0} to \x{ff} is bytes.
> >  and these behaviors are not affected by utf8 pragma.
> 
> Excellent!
> 
> > 3. New `qu' operator to generate UTF8 string explicitly.
> 
> Yes. Like that a lot.

qu() - almost too cute.  Very nice.

Peter Prymmer



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