hangman.pl - A simple web hangman example for OpenFrame
This Perl script contains a small and understandable web application for OpenFrame that allows you to play Hangman with your web browser.
This uses an OpenFrame::Server::HTTP stand-alone HTTP server, and sets up an OpenFrame::Config object with various slots: one for static images, one for session support, and a simple dispatch slot. Note that this generates output inline, which is rather messy.
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.