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
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 Perl.org infrastructure.

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