Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

The Jabberwock, By Lewis Caroll

by wombat (Curate)
on Aug 27, 2000 at 20:44 UTC ( #29907=poem: print w/ replies, xml ) Need Help??

And you thought it was weird in English! ~W
#!/usr/bin/perl $toves="slithy"; ($brillig and $toves); while ($wabe) {($gyre and $gimble)} ($borogoves = "mimsy") and ($momeraths = "outgrabe"); beware ("Jabberwock"); $jabberwock{jaws} ="bite"; $jabberwock{claws} ="catch"; beware ("Jub Jub Bird"); shun ("Frumious Bandersnatch"); $boy{carrying} ="vorpal sword"; if ($jabberwock{position} ne "Behind tree") {sleep 3}; if ($jabberwock{position} ne "In cave") {sleep 3}; if ($jabberwock{position} ne "Under rock") {sleep 3}; $boy{position} ="by the Tumtum tree, in thought."; while ($boy{position} eq "standing in uffish thought"){} $jabberwock{eyes} = "flame"; $jabberwock{position} = "Whiffling through the Tulgey wood"; burble; $one; $one++; $one; ($one++ and ($through && $through)); vorpal_blade; $jabberwock="dead"; $boy{carrying}="Jabberwock head"; $boy{position} = "Galumphing back"; if ($jabberwock eq "dead") { $boy{position} = "father's arms"; $father{exclamation} = "Oh Frabjous day! Callooh! Callay!"; chortle; } $toves="slithy"; ($brillig and $toves); while ($wabe) {($gyre and $gimble)} ($borogoves = "mimsy") and ($momeraths = "outgrabe"); sub beware { $run_away; $run_away; } sub shun { $point_and_laugh; } sub burble; { print "Glub glub. Roaaaaaaar! Glub glub.\n"; } sub vorpal_blade; { print "Snicker Snack!\n"; } sub chortle; { print "$father{exclamation}\n"; }

Comment on The Jabberwock, By Lewis Caroll
Download Code
Replies are listed 'Best First'.
RE: The Jabberwock, By Lewis Caroll
by royalanjr (Chaplain) on Aug 29, 2000 at 18:10 UTC
    Great stuff!!!

    Roy Alan

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: poem [id://29907]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2015-10-07 01:36 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (169 votes), past polls