in reply to Re^3: Unable to declare local variable with "use strict".
in thread Unable to declare local variable with "use strict".
Strict makes you declare your variables.Wrong.
Strict only prevents unqualified variables to default to package variables, by throwing an exception. Declaring a variable with my is only one of the ways to satisfy strict. But you may introduce a variable using local, our or use vars. Or use a fully qualified name.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Unable to declare local variable with "use strict".
by LanX (Saint) on Mar 29, 2010 at 21:03 UTC |