in reply to difference between "use base" and @ISA?

Mark, there's nothing I see in CGI::Application::Plugin::AutoRunmode that points to use base working or not working that I can see. Perhaps a snippet of your module that exhibits the same problem, and a better description of the symptoms you're facing may be in order? You may have misdiagnosed the problem here. Not that you aren't getting good answers to the question you asked, but the question may not be actually related to your problem.

Thanks,

  • Comment on Re: difference between "use base" and @ISA?

Replies are listed 'Best First'.
Re^2: difference between "use base" and @ISA?
by markjugg (Curate) on Aug 26, 2005 at 16:34 UTC
    To be clear, my problem is not getting my application to work. "use base" works for me. I want to learn the about the differences to make intelligent choices in the future. And thanks to the many helpful responses, I think I've got a chance of figuring this out. Thanks all!

      Ok, now I'm confused. In your OP, you said:

      However, only the latter works with CGI::Application::Plugin::AutoRunmode
      which implies to me that something, well, isn't working when you don't "use base ...". I'm curious as to what it is that isn't working when you "use CGI::Application::Plugin::AutoRunmode; push @INC, qw(CGI::Application::Plugin::AutoRunmode);" - what the symptoms are, etc., that "use base qw(CGI::Application::Plugin::AutoRunmode);" fixes?