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

Report information
The Basics
Id:
92718
Status:
resolved
Priority:
Low/Low

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

BugTracker
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.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.