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

Re: Re: Functional Inside Out Closure Objects

by fletcher_the_dog (Friar)
on May 20, 2004 at 16:25 UTC ( [id://354999]=note: print w/replies, xml ) Need Help??


in reply to Re: Functional Inside Out Closure Objects
in thread Functional Inside Out Closure Objects

Actually, this would not be the same. ${class}::$name would point to the CODE ref for the last object that was created. With the way I have it, the goto jumps to the CODE ref for the particular instance that the method is being called on.
  • Comment on Re: Re: Functional Inside Out Closure Objects

Replies are listed 'Best First'.
Re: Re: Re: Functional Inside Out Closure Objects
by stvn (Monsignor) on May 20, 2004 at 16:57 UTC

    Nevermind me, I am still half asleep. You are right, I was reading the source wrong. However, in light of my new understanding of your module, I would tend to agree with dave_the_m that this is creating a rather large overhead for your module. Not to mention that you may find yourself having to deal with the nested closure memory leak issue.

    -stvn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found