This is something that has been driving me crazy for a while.
If use strict is on, every variable must be declared right? But why must every variable, except constants, be declared using 'my'? How can I declare a global with use strict turned on, and why does 'local' and 'our' always give an internal server error?
Thanks,
- Jonathan
If use strict is on, every variable must be declared right? But why must every variable, except constants, be declared using 'my'? How can I declare a global with use strict turned on, and why does 'local' and 'our' always give an internal server error?
Thanks,
- Jonathan