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

Potty humour...

by benn (Priest)
on Mar 20, 2003 at 16:00 UTC ( #244613=poem: print w/ replies, xml ) Need Help??

I make no apologies for this...it came to me while I was...ermmm...meditating in the Monastery bathroom :)
open (HANDLE,$door); flock (HANDLE,LOCK_EX); push; push; push; pop; my $handle = new IO::File "lavatory", "w"; $handle->flush(); flock (HANDLE,LOCK_UN); exit;
/me suddenly wonders if this crops up regularily, as it were....
update Darn - I forgot to close the door again...oh well, Larry'll close it for me:)

Comment on Potty humour...
Download Code
Re: Potty humour...
by YuckFoo (Abbot) on Mar 20, 2003 at 17:31 UTC
      Ouch! :)
Re: Potty humour...
by outcast (Monk) on Apr 17, 2003 at 07:21 UTC
    forget the soap what about this?
    my $tp = new IO::File "Sharmen", "w"; $tp->wipe(); if($bathroom) { SWITCH: { $bathroom eq "dark" && do { &lights('on');}; $bathroom eq "stinky" && do { &fan('on');}; $bathroom eq "leaving" && do { &lights('off');}; DEFAULT: { &lights('off') && &fan('off'); }; }
    Why does that Angry Kid cartoon with the stinky finger come to mind.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (16)
As of 2014-07-24 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (160 votes), past polls