in reply to Re^3: Unable to declare local variable with "use strict".
in thread Unable to declare local variable with "use strict".
We should not use the term "local variable" in Perl, since it is not clear what this means. Perl has two type of variables: Lexical variables, and package global variables.If the goal is to remain clear, talk about "lexical variables" (or lexically scoped variables) vs. "package variables". Don't go pretending that only package variables can be global.
|
|---|