> What is the correct way to define this hash so it can be seen in
> routines in both files?
Create an accessor method to get the variable (or a reference to it)
from whereever you need
sub getMyHash {
\%myHash;
}
my $hashRef = Plugins::DenonAvpControl::Plugin::getMyHash();
> routines in both files?
Create an accessor method to get the variable (or a reference to it)
from whereever you need
sub getMyHash {
\%myHash;
}
my $hashRef = Plugins::DenonAvpControl::Plugin::getMyHash();