in reply to •Re: Detecting function vs method in an AUTOLOAD?
in thread Detecting function vs method in an AUTOLOAD?
From the viewpoint of Perl 5, it's a feature, but from the viewpoint of Perl 6, it's a bug. Perl 6 will distinguish AUTOMETH from AUTOSUB. (Those are the declarative forms, which return references. Perl 6 will distinguish those from the defining forms, which are spelled AUTOMETHDEF and AUTOSUBDEF, and which may only be called on predeclared (or autodeclared) names to supply a missing definition.)
|
---|
Replies are listed 'Best First'. | |
---|---|
•Re: Re: •Re: Detecting function vs method in an AUTOLOAD?
by merlyn (Sage) on Apr 12, 2004 at 19:19 UTC | |
by TimToady (Parson) on Apr 12, 2004 at 19:55 UTC | |
by Corion (Patriarch) on Apr 12, 2004 at 19:25 UTC |
In Section
Seekers of Perl Wisdom