package Foo; use Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw(access_internal_var); use strict; my %Internal_Var_Here; sub access_internal_var { # Insert code here to access the hash }