Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Object singleton method

by sh1tn (Priest)
on Jun 19, 2008 at 23:25 UTC ( #693035=note: print w/ replies, xml ) Need Help??


in reply to Re: Object singleton method
in thread Object singleton method

The example is another pointer to Class singleton method and not instance one. All I wanted is:
s = String.new "s" def s.singleton print "ok" end # later on s.ok


Comment on Re^2: Object singleton method
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2015-07-07 10:54 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 (88 votes), past polls