Gossamer Forum
Home : General : Perl Programming :

use strict?

Quote Reply
use strict?
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
Subject Author Views Date
Thread use strict? jdgamble 4674 Aug 4, 2006, 12:52 PM
Post Re: [jdgamble] use strict?
jdgamble 4524 Aug 7, 2006, 2:18 PM
Thread Re: [jdgamble] use strict?
mkp 4528 Aug 9, 2006, 11:06 AM
Post Re: [mkp] use strict?
jdgamble 4506 Aug 10, 2006, 12:51 PM