in reply to Trying to access hash from external perl file

The hash assignment is wrong. It must use parentheses, not braces: %test_hash = (a=>1, b=>2);

In File_b.pl, load the file with do:

my %test_hash = do 'File_a.pl'