Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Test::More usage to test functions that dieby herveus (Prior) |
on Dec 08, 2004 at 11:44 UTC ( [id://413163]=note: print w/replies, xml ) | Need Help?? |
Howdy!
eval sets $@ if the code dies, so something like will directly test that condition.
yours, Michael
In Section
Seekers of Perl Wisdom
|
|