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 reply to Re: Kwiki update problems with Spoon by eXile
in thread Kwiki update problems with Spoon by water

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.