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

Re: Unary dot

Thread Previous | Thread Next
From:
John Siracusa
Date:
April 15, 2002 14:24
Subject:
Re: Unary dot
Message ID:
B8E0BD24.D021%siracusa@mindspring.com
On 4/15/02 5:16 PM, Damian Conway wrote:
> if we don't support this, people will be forever having to create Perl 6
> adapter classes just so that they can make use of legacy Perl 5 code. :-(

Okay, how about making it a pragma that's not enabled by default?  So all
those Perl 5 porters can do their mechanical transformation of ->{} to .{}
and then add a "no strict hashmethods;" (or something) to the top of the
file?  Leaving auto-method-call-on-{} in Perl 6 enabled by default seems
like a tacit endorsement of that style (albeit a purely visual distinction
in Perl 6, but why even endorse that?)

(stage 2: bargaining ;)
-John


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