Re: RFC 232 (v1) Replace AUTOLOAD by a more flexible mechanism

2000-09-15 Thread Ilya Zakharevich
On Fri, Sep 15, 2000 at 03:11:47PM -0600, Nathan Torkington wrote: > Perl6 RFC Librarian writes: > > This RFC proposes two-stage autoloading: one stage may be registered > > to act when the symbol is encountered at compile time, the other > > when the subroutine is called. Autoloading on the seco

Re: RFC 232 (v1) Replace AUTOLOAD by a more flexible mechanism

2000-09-15 Thread Glenn Linderman
Nathan Torkington wrote: > Actually, I think I'd like to see this extended. I'd like to be able > to hook into the parser so that when it sees a function call: > > foo() > > I can have it call my subroutine. > > foo_handler( $token_stream ) > > foo_handler can access the token stream that ma

Re: RFC 232 (v1) Replace AUTOLOAD by a more flexible mechanism

2000-09-15 Thread Nathan Torkington
Perl6 RFC Librarian writes: > This RFC proposes two-stage autoloading: one stage may be registered > to act when the symbol is encountered at compile time, the other > when the subroutine is called. Autoloading on the second stage does not > I the subroutine, only I it. You have a beautiful min

RFC 232 (v1) Replace AUTOLOAD by a more flexible mechanism

2000-09-15 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Replace AUTOLOAD by a more flexible mechanism =head1 VERSION Maintainer: Ilya Zakharevich <[EMAIL PROTECTED]> Date: 15 September 2000 Mailing List: [EMAIL PROTECTED] Number: 232 Version: 1 Statu