I came across a poem that described a coca cola bottle, and the text was shaped like a bottle. That gave me the idea to try a similar approach to describe the perl camel in perl code. I'm new to perl, so I tried my best. If anyone wants to take my idea and rewrite it, I do not mind :). Enjoy :)!
#!/usr/bin /pe rl -w #This is the p erl camel $a nimal = "camel ; @features = ( "big feet", "h ump back", "big eyes") ; $ home = "desert"; &anima l(); sub animal { print "This is the mascot for perl, he is a ", $animal, ".\n"; p rint "camels have $featur e s[0] $ featur es[1] featu res[2 ] .\n" prin t "C amel s li ve i n the ", $ home, ".\n "; & bye( ); } sub bye { pr int "C amels are coo l!\n."}

Replies are listed 'Best First'.
Re: Perl Camel
by bassplayer (Monsignor) on Feb 13, 2004 at 16:57 UTC
    Here's a related node you might be interested in...

    bassplayer

      Thanks :). I'm also new to this site, I had registered, but it took me about a month before I could login again :).