develooper Front page | perl.perl6.language | Postings from May 2001

Re: Apo2: \Q ambiguity

Thread Previous
From:
Dan Sugalski
Date:
May 4, 2001 15:01
Subject:
Re: Apo2: \Q ambiguity
Message ID:
5.1.0.14.0.20010504173557.021ae9e0@24.8.96.48
At 10:11 PM 5/4/2001 +0100, Simon Cozens wrote:
>On Fri, May 04, 2001 at 03:05:12PM -0400, Dan Sugalski wrote:
> > Have you considered allowing Unicode characters as alternatives to some of
> > the less pleasant looking bits? $foo<<1>> (where << and >> are the double
> > angle characters) as an alternative to $foo\Q[1] if the user's got the
> > characters handy?
>
>I superficially like this idea, but then when the file gets passed to a
>user who doesn't have the relevant Unicode support you get
>$foo<garbage><garbage>1<garbage><garbage>, which isn't fun to support any
>more.

As opposed to "my $<garbage><garbage><garbage><garbage>" as someone decides 
to use Katakana variable names? :)

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About