Consider the following code snippet:
#GLOBAL SPACE HERE
{
#NESTED HERE
my %hash = (
key1 => 'A',
key2 => 'B',
key3 => 'C',
key4 => 'D',
);
sub test
{
#subroutine code goes here
}
}
How would I access either the hash or the subroutine from the global scope when they are nested within the curly braces?