NAME

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

DESCRIPTION

This is an instant wiki.

SYNOPSIS

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;