Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

RE: RE: More Mad Libs

by btrott (Parson)
on Apr 19, 2000 at 03:09 UTC ( #7983=note: print w/replies, xml ) Need Help??


in reply to RE: More Mad Libs
in thread More Mad Libs

I know. But that makes you explicitly spell out which terms you want to use in your mad lib, which isn't very efficient. My snippet rewrite is written in the spirit of plaid's code (here), which scans through the text and prompts the user for terms.

Replies are listed 'Best First'.
RE: RE: RE: More Mad Libs
by turnstep (Parson) on Apr 19, 2000 at 04:19 UTC
    No, you don't have to spell it out in advance, you just have to have gather them all in, then sort them by type. See my version for one way to do it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://7983]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2017-06-25 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (563 votes). Check out past polls.