Skip Menu |

This queue is for tickets about the indirect CPAN distribution.

Report information
The Basics
Id: 59498
Status: resolved
Priority: 0/
Queue: indirect

People
Owner: Nobody in particular
Requestors: mst [...] shadowcat.co.uk
Cc:
AdminCc:

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



Subject: Feature request: accept 'FATAL' for ':fatal' or die on unknown flag
Date: Sun, 18 Jul 2010 06:01:36 +0100
To: bugs-indirect [...] rt.cpan.org
From: Matt S Trout <mst [...] shadowcat.co.uk>
I just did use strict; use warnings FATAL => 'all'; use indirect 'FATAL'; and was quite surprised to get warnings from indirect rather than die()s. Either accepting 'FATAL' or dying when given a wrong flag name would fix my surprise :) -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our Catalyst commercial support, training and consultancy packages could help your team.
Yes, this makes sense. I've also been bitten by this. Starting from indirect 0.22, anything matching /^:?fatal$/i will make the pragma lethal. Vincent.