Hmmm....  maybe

$default_warn->(@_);

would work better?  Just guessing


Sent via the Samsung GALAXY S®4, an AT&T 4G LTE smartphone

<div>-------- Original message --------</div><div>From: "Martin G. McCormick" 
<[email protected]> </div><div>Date:2014/12/10  15:42  (GMT-05:00) 
</div><div>To: [email protected] </div><div>Cc:  </div><div>Subject: Re: Is 
There a Way to Make Uninitialized Warnings Fatal? </div><div>
</div>Nathan Hilterbrand writes:
> Just firing from memory here...

That was extremely good from memory. I tried the code and it
just worked except for one line which appears that it should
cause the warning to be printed since we are catching a
signal and probably need to recreate the warning by feeding the
signal value in to the function that issues the warning message.
The line that causes a problem is:

     $default_warn(@_);

It looks like it should work.
For now, I commented that line out and was able to make
the rest work beautifully.

Again, many thanks. 

Martin McCormick

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/



Reply via email to