PERL- A love hate relationship

Sep 13, 2006 19:45



#!/usr/bin/perl
$flower{petal}=35;

while($flower{petal}>0){
if($flower{petal}%2==1){
print "I love it.\n";
}
else if($flower{petal}%2==0){
print "I love it not.\n";
}
$flower{petal}--;
}Perl is one of the greatest programming languages ever. So much flexibility... such easy syntax... so many uses ( Read more... )

Leave a comment

Comments 9

melonriel September 14 2006, 16:53:02 UTC
Yay Perl. :-p

I suggest that you improve it by adding some sort of random number generator to randomize the final result. :-p

Reply

valinhalcyon September 15 2006, 01:57:46 UTC
I like, perl, though, so that's what the final answer is :p.

Reply


daisysusan September 14 2006, 19:58:49 UTC
Huh?

'T's all Greek to me.

Reply

valinhalcyon September 15 2006, 01:58:12 UTC
*hugs* Noone's perfect. :p

Reply

daisysusan September 15 2006, 18:59:58 UTC
You realize that I could say the same about you.

Too bad you know how to program. No one's perfect.

:p

Reply

valinhalcyon September 16 2006, 01:12:09 UTC
Sacriliege! *grabs his pitchfork of +10 piety* :p

Reply


Leave a comment

Up