#!/usr/local/bin/perl push @INC, "/u2/www/users/chess/davidchess/toys"; use Weblibs; my @l = get_libs(); my $o = new Weblibs::Libset(@l); $o->{scripturl} = "http://www.davidchess.com/toys/WLToy.cgi"; # Do a little tailoring $o->{menutitle} = ""; $o->{menu_intro_text} = <<"EOD";
Pick a Weblib!

(Yeah, I know these are kind of simple and cheesy; if you have better ones that you're willing and able to give away, send them to me!)

EOD $o->{standard_prolog} = <<"EOD";
toys

EOD $o->{standard_epilog} = <<"EOD";
toys
EOD # Run it! print $o->getCgiPage(); exit; sub get_libs { return ( { hinttitle => "Number One", fulltitle => "Weblibs", body => <<"EOD" Mad Libs, by Price Stern [name of person in room], is a popular [adjective] game, enjoyed by [plural noun] of all ages. The game that you are [verb ending in "ing"] now is Weblibs, a variation of Mad Libs for the World Wide [noun].

Weblibs is available from the "Toys" page of davidchess.com, as a Perl [noun] which makes it easy to set up your own Weblibs page as a CGI [noun]. The module is available absolutely free, because the author is a/n [adjective] person, and knows that information wants to be [adjective].

The Weblibs module is [adverb] tailorable, giving you the [noun]master [adjective] control over the HTML that it produces. But if you're [adjective], Weblibs' [adjective] defaults mean that it works [adverb] right "out of the [noun]".

We hope that you enjoy [verb ending in "ing"] Weblibs, and that it gives you many [plural noun] of [noun]! EOD }, { hinttitle => "Number Two", fulltitle => "Wise Sayings", body => <<"EOD" An idle [noun] is the Devil's [noun].

A rolling [noun] gathers no [noun].

Look before you [verb].

Too many cooks [verb] the [food item].

A [noun] in time saves [a number].

There's no use [verb ending in "ing"] over spilled [liquid].

Better [adjective] than [adjective].

Sticks and [plural noun] may [verb] my [plural noun], but names will never [verb] me.

You can [verb] more flies with [a food] than you can with [a liquid].

Don't [verb] your chickens before they're [adjective]. EOD }, { hinttitle => "Number Three", fulltitle => "Computer Users", body => <<"EOD" The most common kind of computer user is the "end-user", or [noun]. End users have only [adjective] computer skills, and use mostly common application programs, like Microsoft [noun], or [noun] Pro. End users tend to call support lines with simple questions, like "Where is the [noun] key?", or "why is the mail system [adjective] again?".

Less common are "power users". Power users know just enough to be dangerous, and often render their computers completely [adjective], by editing [adjective] files, or manually [verb ending in "ing"] the system registry. Power users tend to call support lines convinced that they already know the cause of their [adjective] problem, saying things like "The [noun] is [adjective] again", or "The server is [adjective]", when the real problem is that they have accidentally [verb, past participle] the [noun]. EOD } , { hinttitle => "Number Four", fulltitle => "The Perl 5 Desktop Reference", body => <<"EOD" This well-[verb, past participle] booklet gives you [adjective] access to the vast [noun] of features in Perl. It is up to [noun] with version [a number]. Perl is a [noun] for easily [verb ending in "ing"] text, files, and [plural noun].

You will find here a complete [noun] of the language, from [plural noun] to input and [noun], from flow control to [adjective] expressions, from functions to [adjective] formulas -- all [verb, past tense] into a convenient, [verb]-around [noun]. EOD } , { hinttitle => "Number Five", fulltitle => "Rhymes", body => <<"EOD" Twinkle, Twinkle, [adjective] star,
How I [transitive verb] what you are,
Up above the [noun] so high,
like a [noun] in the sky.

Mary had a little [noun],
Its [noun] was [adjective] as snow,
And everywhere that Mary [verb, past],
The [noun] was sure to [verb].

Jack and [person in room] went up the [noun]
To fetch a [container] of [liquid].
Jack fell [a direction] and broke his [body part],
And Jill came [verb ending in "ing"] after. EOD } , ); }