1OpenFrame::Segment::ConUtseenrtLCooandterri(b3u)ted PerlOpDeoncFurmaemnet:a:tSieognment::ContentLoader(3)
2
3
4
6 OpenFrame::Segment::ContentLoader - simple file based loader for web
7 content under OpenFrame
8
10 use OpenFrame::Segment::ContentLoader;
11
12 my $cl = OpenFrame::Segment::ContentLoader->new();
13 $cl->directory("/path/to/pages");
14 $pipeline->add_segment($cl);
15
17 "OpenFrame::Segment::ContentLoader" is a pipeline segment used by
18 OpenFrame's example webserver. It creates "OpenFrame::Response"
19 objects. The objects it creates will either contain the contents of the
20 file requested, an error displaying a file not found message, or an
21 error message displaying an access forbidden message.
22
24 OpenFrame(3), Pipeline(3)
25
27 James A. Duncan <jduncan@fotango.com>
28
29
30
31perl v5.36.0 2022-07-2O2penFrame::Segment::ContentLoader(3)