webserver.pl - A simple web server example for OpenFrame
This Perl script is a example web server and a small and clear example of an OpenFrame application.
This uses an OpenFrame::Server::HTTP stand-alone HTTP server, and sets up an OpenFrame::Config object with two slots: one for static HTML files and one for static images. Note that the slots can take configuration options.
OpenFrame::Server::HTTP
OpenFrame::Config
Run the script and point your favourite web browser at http://localhost:8000/
Leon Brocard <leon@fotango.com>
Copyright (C) 2001, Fotango Ltd.
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
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.