Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Pre/post subroutine assertions and documentation module?

by educated_foo (Vicar)
on Jan 12, 2012 at 18:22 UTC ( [id://947597]=note: print w/replies, xml ) Need Help??


in reply to Re: Pre/post subroutine assertions and documentation module?
in thread Pre/post subroutine assertions and documentation module?

If you do this, you want to make $::test a constant, so it can be optimized away when you're done testing, e.g.
use constant TEST => $ENV{TEST}; if (TEST) { ... }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-28 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found