OpenFra...ntLoader(3)
β¨ NAME β¨
okay bestie, welcome to the section 3 manual page π
(yes, the header up top literally reads OpenFra...ntLoader(3) because man pages truncate like that β the full glow-up name is below).
OpenFrame::Segment::ContentLoader β it's a simple file based loader for web content under OpenFrame. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
use OpenFrame::Segment::ContentLoader;
my $cl = OpenFrame::Segment::ContentLoader->new();
$cl->directory("/path/to/pages");
$pipeline->add_segment($cl);
look at that. three little lines and you're in business. β¨
π¦ DESCRIPTION π¦
so OpenFrame::Segment::ContentLoader is a pipeline segment used by OpenFrame's example webserver. it's giving humble, it's giving useful, it's giving main character energy on the pipeline. π
the way that it works? it creates OpenFrame::Response objects. that's its whole job and it does it flawlessly, no cap.
and what's inside those objects, you ask? one of three things:
- the contents of the file requested π
- an error displaying a file not found message π
- an error message displaying an access forbidden message π
so like, either you get your file or you get told no. very direct. very demure. very mindful. π§
π SEE ALSO π
go read those too bestie, iykyk π
π AUTHOR π
James A. Duncan <jduncan@fotango.com>
shoutout to the author fr fr π«Ά
and that's the page!! this lil slice of the User Contributed Perl Documentation was brought to you by perl v5.42.0 and it's dated 2025-07-25 β β stay hydrated, read your man pages, and may all your files be found and all your access be allowed π
πΈ
π¦ where this page comes from
- fedora 43: perl-OpenFrame 3.05-55.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms