Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the warnings-MaybeFatal CPAN distribution.

Report information
The Basics
Id: 92718
Status: resolved
Priority: 0/
Queue: warnings-MaybeFatal

Owner: perl [...]
Requestors: perl [...]

Bug Information
Severity: Wishlist
Broken in: 0.001
Fixed in: (no value)

Subject: Make warnings non-fatal, and die at end of scope
Download (untitled) / with headers
text/plain 194b
Something like: my $has_warnings; $SIG{__WARN__} = sub { $has_warnings++; $orig->(@_); }; on_scope_end { die("There were compile-time warnings") if $has_warnings; }; Requested by ilmari.
Changed in 0.004.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to