in reply to Testing my carping
There is Test::Exception. It might be what you are looking for
Update: also found Test::Trap and Test::Warn.
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (397 votes). Check out past polls.