in reply to Re^2: use warnings uninitialized to my own sub?
in thread use warnings uninitialized to my own sub?
Do realize that the warnings handle does not discriminate against the warning. If it installed, it will be called for every warning - be it from an uninitialized variable or something else. (Note that uninitialized variable is a bit of a misnomer, the trigger is an undefined value (not an undefined variable). Undefined values may happen because no value was every assigned to the variable, but it may also be an undefined value was assigned to it).