Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: What's the weaken here for?

by PerlOnTheWay (Scribe)
on Jan 20, 2012 at 05:44 UTC ( #948899=note: print w/replies, xml ) Need Help??


in reply to Re^3: What's the weaken here for?
in thread What's the weaken here for?

What about weaken $self?

It's not done in other subs..

Replies are listed 'Best First'.
Re^5: What's the weaken here for?
by Anonymous Monk on Jan 20, 2012 at 07:55 UTC

    What about weaken $self? It's not done in other subs..

    As I explained in the comments, its a closure. You can read more at in-depth tutorials on closures

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948899]
help
Chatterbox?
[tye]: gah, Benchmark needs some serious work.
[tye]: though, really, I just replace with single calls to clock_gettime( CLOCK_PROCESS_CPUT IME_ID)

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-02-23 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (338 votes). Check out past polls.