Dan Sugalski wrote in perl.perl6.internals :
In Perl terms, assume we have a method PRE that gets called before
any method in a class is called, and AUTOLOAD which is called if you
call a method on a class and that method doesn't exist. Does AUTOLOAD
have to get called to check for PRE if
Here's a question for the python/ruby folks.
I know (now) that python lets you have an interceptor method that
gets called before a named method is called even. Does it allow this
method to be generated by the generic fallback method?
In Perl terms, assume we have a method PRE that gets called
Dan Sugalski [EMAIL PROTECTED] writes:
I know (now) that python lets you have an interceptor method that gets
called before a named method is called even. Does it allow this method
to be generated by the generic fallback method?
Python doesn't really have interceptor methods. In fact, there