Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order for any hash)

2000-08-21 Thread Piers Cawley
Damian Conway <[EMAIL PROTECTED]> writes: > Errr. I would imagine that $ME contains: > > * a reference to the object, within an object method > > * the name of the class, within a class method > > * a reference to the *subroutine* itself, within a non-method. Ooh, recursive a

Re: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order forany hash)

2000-08-21 Thread David L. Nicol
Damian Conway wrote: > And don't forget to include my idea that $ME be scoped locally like > $AUTOLOAD, so that the "self" and "this" and "I" and "myself" camps can > have their respective cakes but the rest of us don't have to eat them: Given 1: full access to the "behind-the-scenes"

RFC 137 (v1) Overview: Perl OO should I be fundamentally changed.

2000-08-21 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Overview: Perl OO should I be fundamentally changed. =head1 VERSION Maintainer: Damian Conway <[EMAIL PROTECTED]> Date: 21 August 2000 Version: 1 Mailing List: [EMAIL PROTECTED] Number: 137 =head

RE: RFC for $ME class variable (was Re: RFC 124 (v1) Sort order for any hash)

2000-08-21 Thread Brust, Corwin
-Original Message- From: Damian Conway [mailto:[EMAIL PROTECTED]] And don't forget to include my idea that $ME be scoped locally like $AUTOLOAD, so that the "self" and "this" and "I" and "myself" camps can have their respective cakes but the rest of us don't have to eat them: [...]

Re: PROTOPROPOSAL FOR NEW BACKSLASH was Re: implied pascal-like"with" or "express"

2000-08-21 Thread Markus Peter
--On 18.08.2000 14:36 Uhr -0700 David L. Nicol wrote: > How about backslash, after the type-qualifier? > > use %record{ > > $\interest_earned += $\balance * $\rate_daily; > }; I don't really like having backslashes in front of ordinary characters anywhere except when I mean them :-) (\n,

Re: RFC 137 (v1) Overview: Perl OO should I be fundamentally changed.

2000-08-21 Thread Uri Guttman
> "PRL" == Perl6 RFC Librarian <[EMAIL PROTECTED]> writes: PRL> A C keyword that lexically scopes hash keys to the current PRL> package, and allows hashes to contain two or more identically named (but PRL> differently scoped) entries. This would solve the problem of PRL> encapsulation

Re: PROTOPROPOSAL FOR NEW BACKSLASH was Re: implied pascal-like"with" or "express"

2000-08-21 Thread Nathan Torkington
Markus Peter writes: > > use %record{ > > > > $\interest_earned += $\balance * $\rate_daily; > > }; Guys, where in the sweet name of Jesus did this awful syntax come from? For a start, %start{ } is only analogous to a slice operation. It has no precedent in Perl. Normally what

Re: RFC 137 (v1) Overview: Perl OO should I be fundamentally changed.

2000-08-21 Thread Damian Conway
Uri wrote: > PRL> A C keyword that lexically scopes hash keys to the > PRL> current package, and allows hashes to contain two or more > PRL> identically named (but differently scoped) entries. This > PRL> would solve the problem of encapsulation in OO Perl for the > PRL>