in reply to make a hash globally accessible
or do you mean:sub func{ $Hash{Key} = 'Value'; }
If the second, then you are overwriting your hash each time.sub func{ %Hash = ('Key', 'Value'); }
More information and some sample code would go a long way, here.
Russ
Brainbench 'Most Valuable Professional' for Perl
|
|---|