Mark Nutter said ... > > What does exactly does use strict do? > > Here's a sample: > > use strict; > > use vars qw( $a $b $c # this is how you declare variables > $myvar ); # for use with "use strict" I've always seen it done this way: #[code] my ($a, $b, $c, $myvar); #[/code] ...so that the variables are part of the current package. I kind of like the way you've done it, though. Why would you choose one of these over the other? -- Brian.
- RE: Use Strict IT Dept - Terry Honeyford
- RE: Use Strict John Preece
- RE: Use Strict Nutter, Mark
- RE: Use Strict bbking
- RE: Use Strict Nutter, Mark
- RE: Use Strict Sean O'Leary
- RE: Use Strict King, Jason
- use strict Peter Lemus
- Re: use strict Brett W. McCoy
- Re: use strict David H. Adler
- use strict Silvio Luis Leite Santana
- Re: use strict Jeff 'japhy' Pinyan
- Re: use strict Silvio Luis Leite Santana
- Re: use strict Peter Scott