my creates a new variable. That's really not what you want. Presumably, $VERBOSE and $DEBUG are package variables that can be declared using use vars qw( $VERBOSE $DEBUG );
In reply to Re: "my" variables masking earlier declaration
by ikegami
in thread "my" variables masking earlier declaration
by pinkybrown
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |