>It's also worth mentioning that if you 'use strict;' you can't declare >you're own symbol table variables so all of your user defined variables will >be lexically scoped. I need to correct myself. I said you can't declare symbol table variables if you 'use strict', that's wrong. 'my' declares lexical variables, 'our' declares package variables which have symbol table entries. 'use vars qw(...' also declares package variables.
- Re: When to use "my"? Sean O'Leary
- Re: When to use "my"? Chas Owens
- Re: When to use "my"? Brett W. McCoy
- Re[2]: When to use "my"? Tim Musson
- Re: Re[2]: When to use "my"? Brett W. McCoy
- Re: Re[2]: When to use "my"? Paul Johnson
- Re[4]: When to use "my"? Tim Musson
- Re: Re[4]: When to use "my"? Paul Johnson
- Re: Re[4]: When to use "my"? Brett W. McCoy
- Re: Re[4]: When to use "my"... Peter Scott
- Re: Re[4]: When to use "my"? Peter Cornelius
- RE: Re[4]: When to use "my"? Peter Cornelius