Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: How can I suppress 'uninitialized' warnings in a CPAN module?

by ysth (Canon)
on Nov 18, 2013 at 06:42 UTC ( #1063049=note: print w/replies, xml ) Need Help??

in reply to How can I suppress 'uninitialized' warnings in a CPAN module?

The first question is: why is it generating warnings in the first place? If you are using -w or -W, stop; instead lexically enable warnings with use warnings; only for your own code.
A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |

Replies are listed 'Best First'.
Re^2: How can I suppress 'uninitialized' warnings in a CPAN module?
by zork42 (Monk) on Nov 20, 2013 at 16:43 UTC
    Thanks, but maybe you missed the thread title. My code is warning free, but I'm getting warnings from a CPAN module.
      And I asked "why?" Uninitialized warnings don't just happen; either you are enabling them even on code other than your own, or the CPAN module is enabling warnings but not coded to avoid generating them (a bug), or you are using the CPAN module in an unsupported way.
      A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2022-01-25 11:22 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (66 votes). Check out past polls.