good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Kwiki update problems with Spoonby eXile (Priest) |
on Sep 18, 2004 at 17:54 UTC ( [id://392015]=note: print w/replies, xml ) | Need Help?? |
Debug it! Sounds like you either don't have a module containing CGI::Kwiki::Config in our library-path or the CGI::Kwiki::Config you have doesn't contain an 'init' function. put a debug statement like join("\n", map {" $_ => $::{$_} "} %::)'; in the kwiki just after the 'use'/'requires' and see if there is anything inthere looking like CGI::Kwiki::Config . AFAIK The %:: hash contains a namespace mapping of some kind, so if the namespace CGI::Kwiki::Config is known to the application at the time you read out %:: it must be in there somewhere. Unfortunately I couldn't find a lot of documentation on %:: so I don't know what the mapping in there exactly is. You could also check your local filesystem for a file called CGI/Kwiki.pm or CGI/Kwiki/Config.pm but the 'package' CGI::Kwiki::Config could be hidden in any file. If you've found a file containing the line package CGI::Kwiki::Config; make sure it is loaded somehow.
In Section
Seekers of Perl Wisdom
|
|