Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: original.pm

by IlyaM (Parson)
on Jan 14, 2002 at 20:38 UTC ( #138605=note: print w/ replies, xml ) Need Help??


in reply to original.pm

You have triggered my curiosity. Why do you have

local $SIG{__WARN__} = sub {};
in import? Why not just
local $^W = 0; # or even [no warnings 'redefine'] if you don't mind # restricting module to perl 5.6.0+
?

--
Ilya Martynov (http://martynov.org/)


Comment on Re: original.pm
Select or Download Code
Re: Re: original.pm
by miyagawa (Chaplain) on Jan 14, 2002 at 23:26 UTC
    You're right. $SIG{__WARN__} stuff may be a leftover of my catching of WARN and DIE in debugging.

    Thanks.

    --
    Tatsuhiko Miyagawa
    miyagawa@cpan.org

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://138605]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2015-07-04 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls