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

Re: Expunge implicit @_ passing

Thread Previous | Thread Next
Damian Conway
August 12, 2001 15:09
Re: Expunge implicit @_ passing
Message ID:
   > When foo() is called as &foo with no parens and no arguments, it
   > inherits @_ from it's caller.
   > I can't think of any reason why this feature is useful anymore, and it
   > can be a really confusing behavior, so what say we kill it in Perl 6?

It's alreday scheduled for termination.

In Perl 6, the expression C<&foo> returns a reference to the C<foo> subroutine.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About