In this case, just use a 'package' lexical:
package Foo; my $data; sub foo { ... } sub bar { ... } 1;
In reply to Re: Re: Scope Between global and my
by ctilmes
in thread Scope Between global and my
by SkipHuffman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |