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/ );