Subject: | runmode delegation broken |
In attempting to get CGI::Wiki::Simple (v 0.12) running, I get the following fatal warning:
Could not delegate CGI::Wiki::Simple::retrieve_node at /usr/local/share/perl/5.8.0/CGI/Wiki/Simple.pm line 377
The line in question reads:
%node = $self->retrieve_node($node_title);
and the retrieve_node method is delegated to the wiki method, which in turn is supposed to call the appropriate CGI::Wiki method. However, I found that I needed to do the following to get CGI::Wiki::Simple working:
Change line 377 to read:
%node = $self->param('wiki')->retrieve_node($node_title);
Change line 380 to read:
$self->param(content => $self->param('wiki')->format($raw));
Once these had been changed, CGI::Wiki::Simple ran as expected.