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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-1451-1391504719-491.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 194
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.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-1451-1391504719-491.0-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-1451-1391504719-491.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-9023-1391688801-1185.92718-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 88
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-1451-1391504719-491.0-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-1451-1391504719-491.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-17211-1391700801-786.92718-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 17
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.