Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^6: Catching closures

by bduggan (Pilgrim)
on Mar 06, 2008 at 15:17 UTC ( [id://672465]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Catching closures
in thread Catching closures

Thanks for the suggestions. This is a situation where it's easy to accidentally create a closure, and rare to have a legitimate use (if there is a legitimate subroutine that uses a closure, it could just be put into a named subroutine, and an anonymous one that's passed to do_transaction could call the named one), so at least a warning on the dev server would be useful. Having used mod_perl for a while, I've seen that accidental closures can be hard to track down, whether they were written by me or someone else on the project.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found