On Tue, Jun 05, 2001 at 01:42:38PM -0700, Daniel S. Wilkerson wrote:
> Someone please tell me what automatic method generation is exactly.

package Foo;
sub AUTOLOAD {
    my $method = $AUTOLOAD;
    eval "sub $method { warn qq/Please do not call this method again.\n/ }"
    goto &$method;
}

-- 
I washed a sock.  Then I put it in the dryer.  When I took it out, it was gone.
        -- Steven Wright

Reply via email to