Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: What would you put on a Perl mug?

by liz (Monsignor)
on Oct 27, 2005 at 10:43 UTC ( #503295=note: print w/ replies, xml ) Need Help??


in reply to Re: What would you put on a Perl mug?
in thread What would you put on a Perl mug?

There's always: $mug =~ s/^$/coffee/; ;-) Although it would be more like: $mug =~ s/^$/tea/ for me, personally ;-)


Comment on Re^2: What would you put on a Perl mug?
Re^3: What would you put on a Perl mug?
by Perl Mouse (Chaplain) on Oct 27, 2005 at 11:08 UTC
    Hmmm, that would mean if there's a bit of cold coffee from yesterday, you're stuck - you aren't getting fresh coffee.
    $mug =~ s/.*/coffee/s, sleep(1500 + rand 600) while 1;
    Or maybe:
    $mug =~ s/.*/beer/s, sleep(1500 + rand 600) while 1;
    Perl --((8:>*
      I guess I don't like stale coffee in my mug.
      foreach (@days) { my $mug = 'coffee'; # rest of the day }
      would be a more desirable description. ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-08-20 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (107 votes), past polls