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

Re: AUTLOAD and $_

Thread Previous | Thread Next
Luke Palmer
June 20, 2005 15:37
Re: AUTLOAD and $_
Message ID:
On 6/20/05, chromatic <> wrote:
> On Mon, 2005-06-20 at 12:11 +0200, Juerd wrote:
> > I think there exists an even simpler way to avoid any mess involved.
> > Instead of letting AUTOLOAD receive and pass on arguments, and instead
> > of letting AUTOLOAD call the loaded sub, why not have AUTOLOAD do its
> > thing, and then have *perl* call the sub?
> Who says AUTOLOAD will always either call a loaded sub or fail?

Uh, what else can it do?  It doesn't have to load a sub to return a
code reference.


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