Problems? Is your data what you think it is? | |
PerlMonks |
Re: Unique testing problemby BazB (Priest) |
on May 23, 2003 at 20:04 UTC ( [id://260464]=note: print w/replies, xml ) | Need Help?? |
Unless you've got a reason not to do so, change the exit to a die, then you can use an eval block to capture the exception in your testing code. Example:
If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
In Section
Seekers of Perl Wisdom
|
|