The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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>