Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Aaah, spring (A Very Special Perlmonks Contest)

by dsb (Chaplain)
on Apr 18, 2002 at 16:31 UTC ( #160254=note: print w/ replies, xml ) Need Help??


in reply to Aaah, spring (A Very Special Perlmonks Contest)

Rewrite Shakespeare? If you want to YOU can!!!

Rewrite history. YOU decide if the boys will fight in Act 1 Scene 1, or if they will show restraint around innocents in Verona. A public place.

Corny, I know. I've been awake too long. ;)

Well here ya go. I REALLY like those T-Shirts ;).

#!/usr/bin/perl # command line args: # yes/no for $biteyourthumb : yes/no for $atme $biteyourthumb = $ARGV[0] eq "yes" ? 1 : 0; $atme = $ARGV[1] eq "yes" ? 1 : 0; if ($biteyourthumb && $atme) { $benvolio = "coming"; $come = "come"; quarrel($benvolio,$come) until ($benvolio eq $come); print "Benvolio: PART FOOLS!!!\n"; print "\n*** Fin ***\n\n"; print "<Abbreviated Applause>\n"; } else { print "Turn and RUN!!!\n"; } sub quarrel { print "They fight!!!\n"; ($_[0],$_[1]) = ("come",$_[1]) if (print "ENTER BENVOLIO\n") }
Cool idea boo_radley!




Amel

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://160254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-08-27 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (389 votes). Check out past polls.