develooper Front page | perl.perl6.language | Postings from April 2005

Re: -X's auto-(un)quoting?

Thread Previous | Thread Next
From:
Rod Adams
Date:
April 25, 2005 20:24
Subject:
Re: -X's auto-(un)quoting?
Message ID:
426DB47D.6070705@rodadams.net
Nathan Wiger wrote:

> Juerd wrote:
>
>> Nathan Wiger skribis 2005-04-25 13:35 (-0700):
>>
>>> My point is simply that we pick one or the other, instead of
>>> both/aliases/etc.
>>
>>
>>
>> But TIMTOWTDI. One way may be great for writing maintainable code, while
>> the other is useful in oneliners (including single line method
>> definitions).
>
>
> Then I suggest "use English" for Perl 6 too. I think you'll find that, 
> like Perl 5, people always use the short forms.
>
> Has ANYONE on this list ever done something like this?
>
>    use English;
>    if ($OSNAME =~ /MSWin32/) {
>        $OUTPUT_AUTOFLUSH++;
>        local $WARNING = 0;
>        print "Windoze\n" or die "Can't print: $OS_ERROR";
>    }
>

Not exactly a fair comparison, since it's common to not "use English" 
due to the $& issue.

I suspect that if that was not the case, it would be used more.

-- Rod Adams


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