in reply to Re: sorting a hash that's in another file
in thread sorting a hash that's in another file

NW

Thanks for the help. The syntax that worked for me was:

my %copy_of_Hash = %ExistingPackage::some_hash;

Though you have to be sure that the %ExistingPackage::some_hash variable is not declared with the "my" operator in the module, or it's not accessible--even if it's in the main subroutine (as I found to my dismay and confusion).

Cheers,

AH