Hi Monks
I am creating a script using what I think are object oriented coding techniques. I am not able to get hash variables working properly. Could one of you let me know what I am missing here that would make my second print statement work properly.
my %BldEnv = (
"TTT2" => {
VersionOne => "one",
VersionTwo => "two",
VersionThree => "three",
VersionFour => "four",
}
);
# commented line works
#print "$BldEnv{TTT2}{VersionOne}\n";
# uncommented line doesn't work
print "$BldEnv->{TTT2}->{VersionTwo}\n";
I got 99 problems, but a @%$()_ ain't one.