Re: RFC 8 (v2) The AUTOLOAD subroutine should be able t

2000-08-11 Thread Piers Cawley
Graham Barr [EMAIL PROTECTED] writes: Damian Conway [EMAIL PROTECTED] writes: Leon Brocard writes: =head2 $AUTOLOAD While we're at it, it *may* be a good idea to remove the global $AUTOLOAD variable and instead pass it as the first parameter of the AUTOLOAD

Re: RFC 8 (v2) The AUTOLOAD subroutine should be able t

2000-08-10 Thread Larry Wall
[EMAIL PROTECTED] writes: : =head1 IMPLEMENTATION : : This strikes me as being a fairly easy thing to do, but then again : internals ain't my thing, baby. The problem I see here isn't the internals--it's how do you translate Perl 5 to Perl 6? Larry

Re: RFC 8 (v2) The AUTOLOAD subroutine should be able t

2000-08-10 Thread Damian Conway
Instead of calling the right thing or actually doing the right thing, AUTOLOAD subroutines should return a coderef which will be run as if it were the method called. If an AUTOLOAD subroutine does not wish to cope with a method call, it should return undef. Perl would then walk

RFC 8 (v2) The AUTOLOAD subroutine should be able t

2000-08-10 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE The AUTOLOAD subroutine should be able to decline a request =head1 VERSION Maintainer: Leon Brocard [EMAIL PROTECTED] Date: 10 Aug 2000 Version: 2 Mailing List: [EMAIL PROTECTED] Number: 8

Re: RFC 8 (v2) The AUTOLOAD subroutine should be able t

2000-08-10 Thread Graham Barr
On Thu, Aug 10, 2000 at 04:47:33PM -, Perl6 RFC Librarian wrote: cope with a method call, it should return undef. Perl would then walk the OO hierarchy and find the next AUTOLOAD to call, eventually failing with an error if no AUTOLOAD method is found which will accept the call. Why not

Re: RFC 8 (v2) The AUTOLOAD subroutine should be able t

2000-08-10 Thread Uri Guttman
"PRL" == Perl6 RFC Librarian [EMAIL PROTECTED] writes: PRL Instead of calling the right thing or actually doing the right thing, PRL AUTOLOAD subroutines should return a coderef which will be run as if PRL it were the method called. If an AUTOLOAD subroutine does not wish to PRL cope