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
- RFC 174 (v1) Parse C<func($obj, @args)> as C<... Perl6 RFC Librarian
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Michael G Schwern
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Chaim Frenkel
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Damian Conway
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Nathan Wiger
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Damian Conway
- Re: RFC 174 (v1) Parse C<func($obj, @a... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)>... Damian Conway
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @a... Tom Christiansen
- Re: RFC 174 (v1) Parse C<func($obj, @args)... Nathan Wiger
- Re: RFC 174 (v1) Parse C<func($obj, @a... Tom Christiansen