On Wed, 8 May 2002, Nathan Torkington wrote:
Larry's State of the Onion slides from TPC5 are now available from
http://dev.perl.org/perl6/talks/
http://dev.perl.org/perl6/talks/onion5.pdf
- ask
> Damian sent them to me in PPT form in January, and only now I
> converted them to PDF.
>
> A
Miko O'Sullivan writes:
>What I've often wanted would be standard method that is called before every
>subroutine call. If that method returns false then the method that was
>called is not called.
What you're describing is Aspect-Oriented Programming (I think). Take a
look around CPAN for Aspect.
[EMAIL PROTECTED] writes:
: ]- I can't remember but i think I read somewhere or it was discussed here (can't
:remember), but I think it was mentioned that Perl6 will have PRE and POST method/sub
:handlers probably specified as attribute, so that (syntax may be wrong):
:
: class XXX {
: method
"Mark J. Reed" <[EMAIL PROTECTED]> writes:
> On Sun, May 12, 2002 at 12:30:20AM +0200, Pixel wrote:
> > FYI Ruby has:
> >
> > a.type <= b.type or a.type == b.type
> >
> > [...]
>
> Well, it comes from set notation - and you used the prefixes 'sub' and
> 'super' exactly as they are used in set
On Sun, May 12, 2002 at 12:30:20AM +0200, Pixel wrote:
> FYI Ruby has:
>
> a.type <= b.type or a.type == b.type
>
> where the various operators (<, >, ==, != ...) are overloaded
> according to the subtyping relation.
>
> as for me,
> - i find the "==" very readable,
> - but i'm not sure "<=
]- I can't remember but i think I read somewhere or it was discussed here (can't
]remember), but I think it was mentioned that Perl6 will have PRE and POST method/sub
]handlers probably specified as attribute, so that (syntax may be wrong):
class XXX {
method blah is PRE {}
method blah {}