On Mon, Feb 04, 2002 at 04:23:51PM -0500, Ilya Zakharevich wrote:
> > That information is already easily available at run-time, just look at
> > the class's symbol table.
> 
> Hmm?  So you found AUTOLOAD there.  Now what?

Now a human steps in and looks at the code to figure out AUTOLOAD's
effect.  Ditto eval STRING, symbol table hackery and @ISA muckery.  

That's living with a dynamic language.  Best I can do is show you
where the minefields are.


> What about extending $class->can( qr// )?

That would require significant alterations to the AUTOLOAD protocol.
perl6-language is down the hall, third door on your right.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
If God made anything more guerrila than your breast, I hope he kept it for
your father.

Reply via email to