Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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
Domain Nodelet?
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: (3)
As of 2022-08-13 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?