Doesn't this move compile time work into run-time?

<chaim>

>>>>> "PRL" == Perl6 RFC Librarian <[EMAIL PROTECTED]> writes:

PRL> This should be made to work correctly. The following order of function
PRL> parsing should apply to Perl 6:

PRL>    1. The current package should be checked for a function
PRL>       by that name (including any imported ones), consistent
PRL>       with current behavior.

PRL>    2. Argument 1 should be checked to see if it is a valid
PRL>       object reference. If so, the method should be checked
PRL>       for existence as a member.

PRL>    3. AUTOLOAD should be called.

PRL> The only new step here is step #2. Notice that this does NOT override
PRL> current-package functions. Only if a function is not found in the
PRL> current package is the translation attempted.


-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to