Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by liz (Monsignor)
on Oct 27, 2005 at 10:43 UTC ( [id://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?

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://503295]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found