Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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/)

Replies are listed 'Best First'.
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 meditating upon the Monastery: (5)
As of 2016-06-26 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (331 votes). Check out past polls.