Cgi Games
CGI::AppBuilder::Frame is a configuration initializer. SYNOPSIS use CGI::AppBuilder::Frame; my $ab = CGI::AppBuilder::Frame- >new( ifn, my_init.cfg, opt, vhS:a:); my ($q, $ar, $ar_log) = $ab- >start_app($0, %ARGV); print $ab- >disp_form($q, $ar); This class provides methods for reading...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (88): CGI::AppBuilder::Frame Download |
CGI::Enurl.pm is a Perl module for URL-encoding strings and hashes. SYNOPSIS use CGI::Enurl; %hash = (name=>Jenda Krynicky,address=>Nerudova 1016); print "Location: http://$ENV{SERVER_NAME}/cgi-bin/do.pl?",enurl %hash,"nn"; This is a little module made for CGI scripting. It encodes the...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (94): CGI::Enurl Download |
CGI::FastTemplate is a Perl extension for managing templates, and performing variable interpolation. SYNOPSIS use CGI::FastTemplate; $tpl = new CGI::FastTemplate(); $tpl = new CGI::FastTemplate("/path/to/templates"); CGI::FastTemplate->set_root("/path/to/templates"); ## all instances...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (95): CGI::FastTemplate Download |
CGI::Application::Generator is a Perl module with dynamically build CGI::Application modules. SYNOPSIS use CGI::Application::Generator; # Required methods my $cat = CGI::Application::Generator->new(); $cat->package_name(My::Widget::Browser); $cat->start_mode(list_widgets);...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (103): CGI::Application::Generator Download |
CGI::Application is a framework for building reusable web-applications. SYNOPSIS # In "WebApp.pm"... package WebApp; use base CGI::Application; # ( setup() can even be skipped for common cases. See docs below. ) sub setup { my $self = shift; $self->start_mode(mode1);...
Platforms: *nix
License: Freeware | Size: 55.3 KB | Download (88): CGI::Application Download |
Games::Score is a Perl module to keep track of score in games . SYNOPSIS use Games::Score; # these three values are the default ones, by the way Games::Score->default_score(0); Games::Score->default_step(1); Games::Score->step_method(inc); # start two players my $player1 =...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (107): Games::Score Download |
CGI::Wiki is a toolkit for building Wikis. Helps you develop Wikis quickly by taking care of the boring bits for you. You will still need to write some code - this isnt an instant Wiki. SYNOPSIS # Set up a wiki object with an SQLite storage backend, and an # inverted index/DB_File search...
Platforms: *nix
License: Freeware | Size: 62.46 KB | Download (87): CGI::Wiki Download |
CGI::FormMagick is a Perl module to easily create CGI form-based applications. SYNOPSIS use CGI::FormMagick; my $f = new CGI::FormMagick(); # all options available to new() my $f = new CGI::FormMagick( type => file, source => $myxmlfile, ); # other types available my $f = new...
Platforms: *nix
License: Freeware | Size: 75.78 KB | Download (91): CGI::FormMagick Download |
Games::GuessWord is a guess the letters in a word (ie Hangman). SYNOPSIS use Games::GuessWord; my $g = Games::GuessWord->new(file => "/path/to/wordlist"); print "Score: " . $g->score . "n"; print "Chances: " . $g->chances . "n"; print "Answer: " . $g->answer . "n"; my @guesses =...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (108): Games::GuessWord Download |
CGI::kSession is a sessions manager for CGI. This module can be used anywhere you need sessions. As a session management module, it uses files with a configurable lifetime to handle your session data. For those of you familiar with PHP, you will notice that the session syntax is a little bit...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (88): CGI::kSession Download |
CGI::Application::Plugin::ValidateRM is a Perl module to help validate CGI::Application run modes using Data::FormValidator. SYNOPSIS use CGI::Application::Plugin::ValidateRM; my $results = $self->check_rm(form_display,_form_profile) || return $self->check_rm_error_page; # Optionally,...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (88): CGI::Application::Plugin::ValidateRM Download |
CGI::Request is a parse client request via a CGI interface. SYNOPSIS use CGI::Request; # Simple interface: (combines SendHeaders, new and import_names) $req = GetRequest($pkg); print FmtRequest(); # same as: print $req->as_string # Full Interface: $req = new CGI::Request; # fetch...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (95): CGI::Request Download |
CGI::XMLForm is a Perl extension of CGI.pm which reads/generates formated XML. NB: This is a subclass of CGI.pm, so can be used in its place. SYNOPSIS use CGI::XMLForm; my $cgi = new CGI::XMLForm; if ($cgi->param) { print $cgi->header, $cgi->pre($cgi->escapeHTML($cgi->toXML)); } else {...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (98): CGI::XMLForm Download |
Games::Mastermind::Solver::BruteForce is a Master Mind puzzle solver. SYNOPSIS # See Games::Mastermind::Solver Games::Mastermind::Solver::BruteForce uses the classical brute-force algorithm for solving Master Mind puzzles. METHODS remaining $number = $player->remaining; The number...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (214): Games::Mastermind::Solver::BruteForce Download |
Games::Mastermind::Solver is a Master Mind puzzle solver. SYNOPSIS # a trivial Mastermind solver use Games::Mastermind; use Games::Mastermind::Solver::BruteForce; my $player = Games::Mastermind::Solver::BruteForce ->new( Games::Mastermind->new ); my $try; print join( ,...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (191): Games::Mastermind::Solver Download |
CGI-Shell provides a shell using CGI, so everyone who has a CGI directory on a Web server can also have a shell on it. It is something like telnet or SSH. How to install? make make install (you have to be root) How to uninstall? make uninstall (you have to be root) The server is...
Platforms: *nix
License: Freeware | Size: 225.28 KB | Download (110): CGI-Shell Download |
Games::Blackjack is a Perl module with Blackjack Utility Classes. SYNOPSIS use Games::Blackjack; # Create new shoe of cards my $shoe = Games::Blackjack::Shoe->new(nof_decks => 4); # Create two hands, player/dealer my $player = Games::Blackjack::Hand->new(shoe => $shoe); my $dealer =...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (102): Games::Blackjack Download |
Games::ScottAdams::Tutorial is a Perl module with the Scott Adams Adventure Compiler Tutorial. INTRODUCTION This document walks you through the process of creating a small but complete and playable game with six rooms, seven items including a single treasure, and a couple of puzzles. It...
Platforms: *nix
License: Freeware | Size: 49.15 KB | Download (127): Games::ScottAdams::Tutorial Download |
Games::ScottAdams::Manual is the Scott Adams Adventure Compiler Reference Manual. SYNOPSIS # foo.sa - definition file for Scott Adams adventure "foo" %room swamp dismal swamp %exit n meadow %exit e edge %exit w grove %item mud Evil smelling mud %getdrop mud %action take mud here...
Platforms: *nix
License: Freeware | Size: 49.15 KB | Download (100): Games::ScottAdams::Manual Download |
SYNOPSIS # automatical computer-vus-computer play script use Games::Checkers::Constants; use Games::Checkers::Board; use Games::Checkers::BoardTree; my $board = new Games::Checkers::Board; my $color = White; my $numMoves = 0; print $board->dump; while ($board->canColorMove($color)) {...
Platforms: *nix
License: Freeware | Size: 286.72 KB | Download (124): Games::Checkers Download |