> Does the C++ notion of private data have a similar structure in perl,
when
> defining packages, I find that when I try to define global variables
inside
> the package, but outside of all the subroutines, I get a million
errors.
> Thanks,
Use my to declare variables local to a package.
package Foo;
my $bar; # private to Foo
What are the errors you get?
- Private Data Nick Transier
- Re: Private Data Paul
- Re: Private Data Brett W. McCoy
- Re: Private Data Me
- Re: Private Data Chas Owens
- Re: Private Data Paul
