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

Re: C<use utf8> should never set $^U

Thread Previous | Thread Next
Gurusamy Sarathy
February 4, 2000 00:59
Re: C<use utf8> should never set $^U
Message ID:
On Fri, 04 Feb 2000 00:54:11 PST, Chip Salzenberg wrote:
>But I also find this *unwelcome* feature:
>    As an added convenience, if the C<utf8> pragma is used in the
>    C<main> package, C<$^U> is enabled automatically.
>I consider this behavior less a convenience and more a bug.  I think
>it's a bad idea to give one pragma both lexical effects and global
>effects.  Please separate them.

Agreed, I admit as much in perlunicode.pod.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About