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

Re: AUTLOAD and $_

Thread Previous | Thread Next
From:
Rod Adams
Date:
June 21, 2005 18:08
Subject:
Re: AUTLOAD and $_
Message ID:
42B8BA09.7080705@rodadams.net
Larry Wall wrote:

>On Mon, Jun 20, 2005 at 07:09:42PM -0500, Rod Adams wrote:
>: S10 talks about how it is AUTOSUB vs AUTOMETH (and others), but AUTOLOAD 
>: is still around. S10 doesn't mention it, but I think it's been said that 
>: AUTOLOAD only gets called as a last resort.
>
>Really, the only point of keeping AUTOLOAD around is to make it easier
>to translate Perl 5 to Perl 6.  AUTOSUB and friends have the spiffy
>reference-returning semantics everyone wants.  I'd like the translator
>to be able to turn "goto &foo" into "&foo.tailcall" or some such,
>and otherwise leave AUTOLOAD alone.
>
>  
>

Should we then perhaps rename it to: DEPRECATED_PERL5_AUTOLOAD ?

-- 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