Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

PyroX

by PyroX (Pilgrim)
on Jul 23, 2001 at 21:09 UTC ( #99080=user: print w/ replies, xml ) Need Help??

#!/usr/bin/perl system('clear'); my @msapp=('you moved your mouse and must restart before changes can take effect','not enough memory to close the window','fatal exeption','ie has caused an error','active x is trying to close this window','please upgrade your ram','does not compute!','keyboard error','do you like bl ue?','out of hard drive space','windows media was unable to contact microsoft to report your current music selection','please re-install windows'); my $toomuch=10; my $anger=0; my $os="windows"; while($os eq "windows"){ foreach $error (@msapp){ print "woops! $error ha ha ha!\n"; $anger++; } if($anger>$toomuch){ $os="linux"; }} print "\n-------------------------------------\n"; print "Your OS selection is: $os\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 avoiding work at the Monastery: (9)
As of 2014-07-11 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (217 votes), past polls