- 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_is
- warnings_are
- warning_like
- warnings_like
- warning_is {code} undef - to check there was no warning
- ...