[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Newbie: objects within CGI::Application derived class


On Mon, 16 May 2005 suppressed wrote:

> This may not be strictly a CGI::Application question, but I 
> thought I'd ask here... this is my first attempt at using this 
> (and it appears *very* useful!).  I may not be grokking 
> something about perl OOP.

For a newbie you're getting very fancy here!  I recommend you slow
down and leave the complex OO juggling for later, when you're more
comfortable with the tools.

> Can't local object method "_module" via package "myApp::test"

Does that message come with line number?  Can I see the line?  I'm
guessing that you're calling _module on a myApp::test object instead
of a myApp::Auth object.  That's the most obvious reason for that
error anyway.

> So, some kind of namespace issue due to the fact that the 
> caller is an object (an instance of CGI::Application), it seems...

I think that's highly unlikely, but you'd have to show use the
CGI::App subclass for us to tell...

-sam

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.