Description
Perl tests can assert whether code emits expected warnings. This helps developers check deprecated paths, error reporting, and noisy behavior without manually reading test output.
It is a developer testing library. Warning tests should match the relevant message so unrelated warnings do not accidentally satisfy the assertion.