in reply to Access to (exported?) variabes of a module

Alternatively, you could write your own get/set functions for the module.

let say I have a module
my @AoA = ( #Array of Array Stuff ); my %fundHash = ( # Hash Stuff ); # return array reference sub return_AoA { return \@AoA; } # return hash reference sub return_fundHash { return \%fundHash; }


In my main program I will have
use perlMod; my $AoA = perlMod::return_AoA(); my $fundHash = perlMod::return_fundHash();


And since you are passing by reference in this case, you will need to dereference in order to actually use the variable values...
my $toMail = $$AoA[$i][2] . "\@mail.host";


Tobin