in reply to Global vars

Proper way for working with variables is to declare them first. There are other options like our or local. Are you averse to variable declaration? Perl doesn't force you to declare the variables you work with if you do not use strictures and warnings, but who wants that?

Replies are listed 'Best First'.
Re^2: Global vars
by moritz (Cardinal) on Mar 17, 2008 at 14:42 UTC
    local doesn't declare a variable.