Skip Menu |

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

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

People
Owner: perl [...] toby.ink
Requestors: perl [...] toby.ink
Cc:
AdminCc:

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



Subject: Make warnings non-fatal, and die at end of scope
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.