JVromans@squirrel.nl (Johan Vromans) writes: > Piers Cawley <pdcawley@bofh.org.uk> 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. -- PiersThread Previous | Thread Next