OpenFrame::Segment::ContentLoader - simple file based loader for web content under OpenFrame
use OpenFrame::Segment::ContentLoader; my $cl = OpenFrame::Segment::ContentLoader->new(); $cl->directory("/path/to/pages"); $pipeline->add_segment($cl);
OpenFrame::Segment::ContentLoader is a pipeline segment used by OpenFrame's example webserver. It creates OpenFrame::Response objects. The objects it creates will either contain the contents of the file requested, an error displaying a file not found message, or an error message displaying an access forbidden message.
OpenFrame::Segment::ContentLoader
OpenFrame::Response
OpenFrame(3), Pipeline(3)
James A. Duncan <jduncan@fotango.com>
To install OpenFrame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenFrame
CPAN shell
perl -MCPAN -e shell install OpenFrame
For more information on module installation, please visit the detailed CPAN module installation guide.