perl-unicode

Re: How to handle unicode strings in utf8 and pre-utf8 pragma perls

2003-05-31 08:30:08
Nicholas Clark wrote:

I can't help you on the important questions, but

On Sat, May 31, 2003 at 01:33:28AM +0000, Richard Evans wrote:

Conceptually something like:

  use utf8 if $] >= 5.006;    # Yes, I know this won't even compile in
                              # reality :)

use if $] >= 5.006, utf8;

On CPAN as http://search.cpan.org/author/ILYAZ/if-0.01000001/
In the core since 5.8.0

Nicholas Clark

Good point - I forgot all about if.pm, and it looks like that might be the
perfect solution.

Thanks for your help,
Rich
-- 
Richard Evans
scriptyrich(_at_)yahoo(_dot_)co(_dot_)uk