in reply to Re^2: Unable to declare local variable with "use strict".
in thread Unable to declare local variable with "use strict".
Strict makes you declare your variables. Local does not declare a variable...
it makes a backup copy of an existing global variable, and that global is still global.
my declares a local variable. my is what you want to use.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Unable to declare local variable with "use strict".
by JavaFan (Canon) on Mar 27, 2010 at 00:03 UTC | |
by LanX (Saint) on Mar 29, 2010 at 21:03 UTC |