CGI::Wiki::Simple::NoTemplates - A simple wiki without templates


CGI-Wiki-Simple documentation  | view source Contained in the CGI-Wiki-Simple distribution.

Index


NAME

Top

CGI::Wiki::Simple::NoTemplates - A simple wiki without templates

DESCRIPTION

Top

This is an instant wiki.

SYNOPSIS

Top

It might be the case that you don't want to use HTML::Template, and in fact, no templates at all. Then you can simple use the following example as your wiki, which does not rely on HTML::Template to prepare the content :

  use strict;
  use CGI::Wiki::Simple::NoTemplates;
  use CGI::Wiki::Store::MySQL; # Change this to match your setup

  my $store = CGI::Wiki::Store::MySQL->new( dbname => "test",
                                            dbuser => "master",
                                            dbpass => "master" );




  my $search = undef;
  my $wiki = CGI::Wiki::Simple::NoTemplates
             ->new( PARAMS => {
                                store => $store,
                              })->run;


CGI-Wiki-Simple documentation  | view source Contained in the CGI-Wiki-Simple distribution.