[EMAIL PROTECTED] (Johan Vromans) writes: > Piers Cawley <[EMAIL PROTECTED]> writes: > > > Actually, I'd like to see something similar done to Universal::can > > my @methods = $class->can(pattern) > > where pattern is a perl pattern matching method names. For a full > list, use > > $class->can(); > > or > > $class->can(qr/./); That wasn't the similar thing I meant. I was talking about walking the @ISA tree. But having C<can> work like that too would be neat. -- Piers
- RFC 335 (v1) Class Methods Introspection: what methods... Perl6 RFC Librarian
- Re: RFC 335 (v1) Class Methods Introspection: wha... Piers Cawley
- Re: RFC 335 (v1) Class Methods Introspection:... Johan Vromans
- Piers Cawley