In the perllexwarn man page, it states that the scope of the warning
pragma is limited to the enclosing block. It also means that the
pragma setting will not leak across files (via use, require or do).
This allows authors to independently define the degree of warning
checks that will be applied to
On Tue, Jun 16, 2009 at 02:39:21PM -0700, Bill Ward wrote:
So, do I need to monkey with $SIG{__DIE__} or something?
$SIG{__WARN__} = sub { die @_ };
Apply more advanced filtering to @_ as desired.
hdp.
On Tue, Jun 16, 2009 at 2:43 PM, Hans Dieter
Pearceyhdp.perl.module-auth...@weftsoar.net wrote:
On Tue, Jun 16, 2009 at 02:39:21PM -0700, Bill Ward wrote:
So, do I need to monkey with $SIG{__DIE__} or something?
$SIG{__WARN__} = sub { die @_ };
Apply more advanced filtering to @_ as desired.
-Original Message-
From: william.w...@gmail.com [mailto:william.w...@gmail.com] On Behalf
Of Bill Ward
Sent: Wednesday, June 17, 2009 12:39 AM
To: module-authors@perl.org
Subject: lexical warnings question
warnings. So, we want to make warnings fatal in the development
On Tue, Jun 16, 2009 at 02:49:36PM -0700, Bill Ward wrote:
Arg, I meant to say $SIG{__WARN__} when I wrote the original
message... sorry. I was hoping to avoid that, since I think we are
already messing around with %SIG in our applications too much as it
is.
What would doing *anything* with
On Tue, Jun 16, 2009 at 3:01 PM, Hans Dieter
Pearceyhdp.perl.module-auth...@weftsoar.net wrote:
On Tue, Jun 16, 2009 at 02:49:36PM -0700, Bill Ward wrote:
Arg, I meant to say $SIG{__WARN__} when I wrote the original
message... sorry. I was hoping to avoid that, since I think we are
already
- Original Message
From: Hans Dieter Pearcey hdp.perl.module-auth...@weftsoar.net
On Tue, Jun 16, 2009 at 02:39:21PM -0700, Bill Ward wrote:
So, do I need to monkey with $SIG{__DIE__} or something?
$SIG{__WARN__} = sub { die @_ };
Apply more advanced filtering to @_ as
On Tue, Jun 16, 2009 at 4:14 PM,
Ovidpubliustemp-moduleautho...@yahoo.com wrote:
- Original Message
From: Hans Dieter Pearcey hdp.perl.module-auth...@weftsoar.net
On Tue, Jun 16, 2009 at 02:39:21PM -0700, Bill Ward wrote:
So, do I need to monkey with $SIG{__DIE__} or something?
On Tue, Jun 16, 2009 at 04:29:56PM -0700, Bill Ward wrote:
I like the Modern::Perl idea. I'm going to see if there's some way I
can do what it does.
The hard part is getting it into all your code, not reproducing it technically,
which is easy:
package Fatal::Warnings;
use warnings ();