Richard Clamp > OpenFrame-3.05 > OpenFrame::Segment::ContentLoader

Download:
OpenFrame-3.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  3
View/Report Bugs
Module Version: 3.05   Source  

NAME ^

OpenFrame::Segment::ContentLoader - simple file based loader for web content under OpenFrame

SYNOPSIS ^

  use OpenFrame::Segment::ContentLoader;

  my $cl = OpenFrame::Segment::ContentLoader->new();
  $cl->directory("/path/to/pages");
  $pipeline->add_segment($cl);

DESCRIPTION ^

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.

SEE ALSO ^

OpenFrame(3), Pipeline(3)

AUTHOR ^

James A. Duncan <jduncan@fotango.com>

syntax highlighting: