in reply to Re: Hash reference undefined somewhere?
in thread Hash reference undefined somewhere?
I also have $ref_data defined in the GetNewFWRules subroutine in the same way I have for GetHosts. But aren't all of those declarations in different scopes, i.e. main vs. a subroutine?my $ref_data = ProcessFile($fh, "get_hosts");
Either way, I changed the declaration in main to $ref_data2, and I still get the same thing. There are no other declarations of $ref_data.
-- Burvil
|
---|