in reply to Scope Between global and my
Example:
sub main_routine { local @private::keep::out::data = load_huge_array(); child_sub1(); child_sub2(); } sub child_sub1 { for ( @private::keep::out::data ) { ... } }
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Scope Between global and my
by SkipHuffman (Monk) on Apr 01, 2004 at 17:45 UTC | |
by jdporter (Paladin) on Apr 01, 2004 at 17:51 UTC | |
by SkipHuffman (Monk) on Apr 01, 2004 at 18:10 UTC | |
by halley (Prior) on Apr 01, 2004 at 18:42 UTC | |
by jdporter (Paladin) on Apr 02, 2004 at 16:35 UTC | |
by TimToady (Parson) on Apr 02, 2004 at 18:12 UTC | |
by adrianh (Chancellor) on Apr 02, 2004 at 20:29 UTC |