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.
Comment on
RE: RE: More Mad Libs
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.
[reply]
In Section
Cool Uses for Perl