[Templates] use base vs. @ISA weirdness in Plugins

Matthews Simon sam@knowledgepool.com
Wed, 16 Aug 2000 08:34:15 +0100


I am seeing this too......which is strange because that's how the XML::DOM
plugin that ships with Template does it and it passes the tests. 

SAM

>  I was a bit
>  curious why inheritance was failing in this case, and I 
>  finally noticed
>  that if in my Plugin I replaced:
>  
>  use base qw(Template::Plugin);
>  
>  with
>  
>  require Template::Plugin;
>  @ISA = 'Template::Plugin';
>  
>  it stopped giving me that error message.
>  
>  I really have no idea why this happened, but just throwing it out
>  there...
>