On Mon, Feb 02, 2004 at 11:44:17AM -0700, Luke Palmer wrote:
: Alex Burr writes:
: > --- Andy Wardley <[EMAIL PROTECTED]> wrote:
: > 
: > > Adding unicode operators to Perl will just reinforce
: > > its reputation as
: > > a "line noise" language.
: > 
: > Perl6, the language with *real* runes.
: > 
: > Come to think of it, some of the ogham runes would
: > look more incharacter as a 'distribute' operator than
: > guillemets... :-)
: > 
: > More seriously, what about things live 'combining
: > characters', eg U20D0 (vector indication); 
: > U0307 (derivative)?
: 
: Those are fair game for modules, but they won't be in the core because
: they're not in latin-1. 

Yes, that's the policy, at least for 6.0.0.  Once everyone's on the
Unicode bandwagon (I realize we're talking years here), we can think
about relaxing that.

That being said, we can potentially use ×  U+00D7 MULTIPLICATION SIGN.
(Though my vim can't seem to decide whether it's a single-width or a
double-width character, urgh...)

By the way here's a program called "uni" that greps the Unicode characters:

    #!/usr/bin/perl
     
    binmode STDOUT, ":utf8";
    $pat = "@ARGV";
     
    @names = split /^/, do 'unicore/Name.pl';
    for (@names) {
        if (/$pat/io) {
            $hex = hex($_);
            print chr($hex),"\t",$_;
        }
    }

Sorry if I posted that before, but it's a really useful little beastie.

Larry

Reply via email to