NAME

SCALP::Plain - A _very_ plain content page of SCALP

VERSION

Version 0.0.2

SYNOPSIS

This module provides the simplest content page.

use SCALP::Plain;

my $about = SCALP::Plain->new();

or

my $about = SCALP::Plain->new( title => "About" );

(that way, the page even has a title - built in function by SCALP main module)

And using it

$about->text("Welcome to the About page. Nothing about us is interesting.");
print $print->{'text'}

Of course, this may seem trivial to you (and it just may be), but once you wrap a few pages inside the SCALP main module as a complete website and store it, it's easier to use it in a page rendering engine. At least for me :)

EXPORT

Nothing is exported.

FUNCTIONS

text

returns the page content or sets it.

AUTHOR

Sawyer, <xsawyerx at gmail.com>

BUGS

Please report any bugs or feature requests to bug-scalp-plain at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SCALP. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc SCALP

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2007 Sawyer, all rights reserved.

This program is released under the following license: GPL v2 or later