Test2::Event::Warning(3) User Contributed Perl Documentation Test2::Event::Warning(3)

# [DESCRIPTION](#DESCRIPTION)

An event representing an unwanted warning. This is treated as a failure.

# [ACCESSORS](#ACCESSORS)

$warning = $event-&gt;warning

Returns the warning that this event captured.

2026-10-25 perl v5.44.0

---

Document: Test2::Event::Warning(3pm) from perl-test2-plugin-nowarnings 0.10-r10 (Chainguard OS)
Source: https://github.com/houseabsolute/Test2-Plugin-NoWarnings
