Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Caffeine and its delivery to monks in need

by FoxtrotUniform (Prior)
on May 15, 2002 at 15:27 UTC ( #166749=note: print w/ replies, xml ) Need Help??


in reply to Caffeine and its delivery to monks in need

Methinks that brother demerphq has the right idea, but an unnecessarily restrictive namespace: I'd prefer something like this:

  • Caffeine
    • Beverage
      • Hot
      • Cold
      • Intravenous
    • Foodstuff
      • Mint
      • Bean
      • Tablet

So with that namespace in mind:

connect(Caffeine::Beverage::Intravenous->new( "type" => "coffee", "roast" => "light", "strength" => "demitasse"), $monks{"FoxtrotUniform"}) or warn "Matt's going to be grumpy: $!\n";

--
:wq


Comment on Re: Caffeine and its delivery to monks in need
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-03 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls