perlquestion
suaveant
I am looking for a module to assign pre and post assertions to subroutines in development and pre-production but be able to be skipped on production, and also to double as documentation (or at least facilitate documentation) of inputs and outputs.
<P>
I've found Sub::Assert which looks promising except for the documenting part (which maybe I could work in somehow) and Sub::Spec which looks interesting but not at all what I want.
<P>
Anyone know of anything useful?
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-56739">
<P> - Ant<BR>
- Some of my
best work - (<A HREF="/index.pl?node_id=85541">1</a> <A HREF="/index.pl?node_id=470390">2</a> <A HREF="/index.pl?node_id=116759">3</a>)<BR>
</div></div>