On Wed, 9 Aug 2000 14:26:25 +0100, Graham Barr wrote:

>That is being considered. IF that does become part of the language I could
>see subs do something like
>
>  if (defined $SELF) {
>    called as a method
>  }
>  else {
>    called as a sub
>  } 

That was my idea. The current unfixable bug I showed in CGI.pm would
easily be fixed. However, Hildo's argument WRT inheritance makes me less
convinced that it is the ultimate ideal.

-- 
        Bart.

Reply via email to