Test::Warn
- Test::Warn
Test::Warn can be used to test for both warnings and carp calls. It can be used to check if there was a warning or if there was not.
warning_iswarnings_arewarning_likewarnings_likewarning_is {code} undef- to check there was no warning- ...