CGI::Wiki::Simple::Plugin::Static - Supply static text as node content
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.
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
To install CGI::Wiki::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Wiki::Simple
CPAN shell
perl -MCPAN -e shell install CGI::Wiki::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.