Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Day after day

by TZapper (Acolyte)
on Aug 13, 2004 at 08:09 UTC ( [id://382568]=poem: print w/replies, xml ) Need Help??

This code represents some developers' daily routines. The code, ofcourse, will not run and is somewhat a pseudo-code.
#!/usr/bin/perl use strict; my @days = (monday tuesday wednesday thursday friday); foreach my $day (@days) { while (my $boss = <STDOUT>) { sleep 3600; } if (localtime eq "1200") GOTO(LUNCH); LUNCH: fork or die("There is no spoon!"); if (localtime eq "1400") GOTO(MEETING); MEETING: sleep 1800; if (localtime eq "1500") { open BROWSER; open SLASHDOT && open PERLMONKS; } if (localtime eq "1800") GOTO(HOME); HOME: my $beer = "Heiniken"; open FRIDGE; print $beer, ">$STOMACH"; close FRIDGE; GOTO(STRIPCLUB); STRIPCLUB: exec("find / -type blonde; talk; talk; finger; fsck; fsck; mount; +umount; sleep"); GOTO(HOME) and sleep until next $day; }

Replies are listed 'Best First'.
Re: Day after day
by csuhockey3 (Curate) on Aug 22, 2004 at 23:56 UTC
    exec("find / -type blonde; ... umount; sleep");

    brilliant! ++

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: poem [id://382568]
Approved by TStanley
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-18 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found