Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

CloneArmyCommander's scratchpad

by CloneArmyCommander (Friar)
on Jun 13, 2004 at 13:40 UTC ( #363823=scratchpad: print w/replies, xml ) Need Help??

My version of the Perl Camel. . . .
#!/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."}
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2019-11-21 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (105 votes). Check out past polls.

    Notices?