Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Functional Inside Out Closure Objects

by fletcher_the_dog (Friar)
on May 20, 2004 at 16:25 UTC ( #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
Node Status?
node history
Node Type: note [id://354999]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-06-04 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (30 votes). Check out past polls.

    Notices?