Max Maischein > CGI-Wiki-Simple > CGI::Wiki::Simple::Plugin::Static

Download:
CGI-Wiki-Simple-0.12.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.09   Source  

NAME ^

CGI::Wiki::Simple::Plugin::Static - Supply static text as node content

DESCRIPTION ^

This node supplies static text for a node. This text can't be changed. You could use a simple HTML file instead. No provisions are made against users wanting to edit the page. They can't save the data though.

SYNOPSIS ^

  use CGI::Wiki::Simple;
  use CGI::Wiki::Simple::Plugin::Static( Welcome  => "There is an <a href='entrance'>entrance</a>. Speak <a href='Friend'>Friend</a> and <a href='Enter'>Enter</a>.",
                                         Enter    => "The <a href='entrance'>entrance</a> stays closed.",
                                         entrance => "It's a big and strong door.",
                                         Friend   => "You enter the deep dungeons of <a href='Moria'>Moria</a>.",
                                         );
  # nothing else is needed
syntax highlighting: