Skip Menu |
 

This queue is for tickets about the Dispatch-Class CPAN distribution.

Report information
The Basics
Id: 96106
Status: open
Priority: 0/
Queue: Dispatch-Class

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

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



Subject: accept qr/.../ as a key
Download (untitled) / with headers
text/plain 232b
This would be handy for Try::Tiny::ByClass so that you can accept a mixture of blessed and stringy exceptions... catch_case [ 'Exception::FileNotFound' => sub { ... }, qr/my head asploded/ => sub { ... }, ]


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.