Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re (tilly) 5: Ruby: An Abbot breaks silencewind

by tilly (Archbishop)
on Jun 11, 2001 at 19:56 UTC ( [id://87551]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Ruby: An Abbot breaks silencewind
in thread Ruby: An Abbot breaks silencewind

What you want is trivial to do:
package Logger; my %instance; sub instance { my $class = shift; return $instance{$class} ||= bless {@_}, $class; }
As for Java's type system, I am not so convinced it is a win. A few articles for thought, Java is untyped, late binding is good, and strong typing.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found