No such thing as a small change | |
PerlMonks |
Re: Parameter Asserts - How do you use them?by dze27 (Pilgrim) |
on Apr 16, 2003 at 20:08 UTC ( [id://251023]=note: print w/replies, xml ) | Need Help?? |
I think, as you suggest, that he is just talking about doing a sanity check on the input to a function. There is a module, Carp::Assert on CPAN that you might find useful for doing assertions.
In Section
Seekers of Perl Wisdom
|
|