Skip Menu |

This queue is for tickets about the Test-Warnings CPAN distribution.

Report information
The Basics
Id: 127215
Status: new
Priority: 0/
Queue: Test-Warnings

People
Owner: Nobody in particular
Requestors: PETDANCE [...] cpan.org
Cc:
AdminCc:

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



Subject: allow_warnings( qr// ) would be great
I see that this is in your todo: allow_warnings(qr/.../) - allow some warnings and not others Hearty endorsement from me. I have a section of code that sometimes spits out diagnostic warnings which are OK, but it makes me wary of what I might accidentally ignore. In our case, the warning looks roughly like: "Calculation took a long time: took 0.207 seconds to compute", and so I'd like to be able to allow_warnings( qr/took [\d.]+ seconds to compute/ );