For Ari's amusement...

Locked
Kaiseress Viviantia I
Posts: 255
Joined: Sun Jun 09, 2002 11:04 pm

For Ari's amusement...

Post by Kaiseress Viviantia I »

Quote: #!/usr/bin/perlprint "Do you have a chicken?\n";$answer = ;chomp ($answer);if ($answer eq "yes&quot {&nbsp &nbsp &nbsp &nbsp print "Good person, What is its name?\n";&nbsp &nbsp &nbsp &nbsp $answer2 = ;&nbsp &nbsp &nbsp &nbsp chomp ($answer2);&nbsp &nbsp &nbsp &nbsp print "$answer2 is a good chicken!\n";&nbsp &nbsp &nbsp &nbsp } else {&nbsp &nbsp &nbsp &nbsp print "How sad. Go get one!\n";}Enjoy...hehehe Kaiseress Viviantia IKaiseress of ShirerothSAVE THE KIWI!
Zhaki the Dolphin
Posts: 36
Joined: Wed May 29, 2002 9:42 pm

Re: For Ari's amusement...

Post by Zhaki the Dolphin »

"LIBERATE THE CHICKENS"- SanderD, when viewing this scriptBTW, I would have written that script this way:#!/usr/bin/perlprint "Do you have a chicken? ";chomp ($_ = );if (/^y/i) # "y", "Y", "yes", "yea" all work{ print "Good person. What's its name? "; chomp ($_ = ); print "$_ is a good chicken!\n";}elsif (/^n/i) # whoops, no chicken found. Time to bail out.{ print "How sad. Go get one!\n";}else # you mean what?{ print "Huh?\n";} Inconsistency is the ancient karmic dragon of a brilliant mind.
Kaiseress Viviantia I
Posts: 255
Joined: Sun Jun 09, 2002 11:04 pm

Re: For Ari's amusement...

Post by Kaiseress Viviantia I »

Yes, well.. I haven't gotten that far now yet, now have I? hehe Kaiseress Viviantia IKaiseress of ShirerothSAVE THE KIWI!
Sander042802
Posts: 12
Joined: Thu May 30, 2002 7:08 am

Re: For Ari's amusement...

Post by Sander042802 »

hehehe Sander DielemanChancellor of the Micronation of PacaryVP of Operations of Bobbesian AirwaysHPi of PiColonel of the PMDie hard Pokey the penguin fanICQ#104572163 - MSN sanderdieleman@hotmail.com - AIM SanderDieleman
Kaiseress Viviantia I
Posts: 255
Joined: Sun Jun 09, 2002 11:04 pm

Re: For Ari's amusement...

Post by Kaiseress Viviantia I »

I lost that script and my others though... but I got 2.5 more gigs...hehe Kaiseress Viviantia IKaiseress of ShirerothSAVE THE KIWI!
Locked

Return to “House Tessier-Ashpool”

Who is online

Users browsing this forum: No registered users and 1 guest