The

Or die "...."; is force of habit, hard to teach and old dog new tricks :) I
just found out about Fatal this past week and started to use it...

-Ron

-----Original Message-----
From: Bob Showalter [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 11:56
To: 'Yacketta, Ronald'; [EMAIL PROTECTED]
Subject: RE: Perl -w odd error


Yacketta, Ronald wrote:
> The problem is with the "use" statement use Fatal qw(open close); For 
> some reason if I do
> 
> use Fatal qw(open close);
> 
> I get the error, but if I do a
> use Fatal;
> 
> I don't...

1. The idea behind Fatal is that you can omit the "or die..." stuff from
your open() call. So why aren't you doing that?

2. Fatal appears to be relatively magical in what it does and that's likely
to be confusing the warnings system.

I suggest you:

A: disable the warning at the appropriate scope:

      no warnings 'once';

B: refer the spurious warning to the maintainer of the Fatal module for
possible action. You're most likely to get results if you can propose a
patch to Fatal that would stop the warning from happening.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to