Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by educated_foo (Vicar)
on Jan 12, 2012 at 18:22 UTC ( #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
Node Status?
node history
Node Type: note [id://947597]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2020-08-07 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (45 votes). Check out past polls.

    Notices?