in reply to Use of uninitialized value at?

In versions 5.6 and later, you can use no warnings 'uninitialized' to suppress that error. In prior versions, you can localize a warnings handler ($SIG{__WARN__}) to suppress that error. Otherwise, you have several options.

Replies are listed 'Best First'.
Re: Re: Use of uninitialized value at?
by grantm (Parson) on Oct 09, 2002 at 10:08 UTC

    And in versions before 5.6 you can use the $^W global. eg:

    { local($^W) = 0; # suppress warnings ... your code here ... }