in reply to Re^3: Perl Variablesin thread Perl Variables
How do I retrieve the values from the hash now?
Use the same expressions you used for assignment.
$TGS_Value{$tgs}{VAR} = \@VAR; [download]
After that, $TGS_Value{$tgs}{VAR} is an array reference.
my $var_ref = $TGS_Value{$tgs}{VAR}; my @VAR = @{$var_ref}; # ...is the same as: my @VAR = @{ $TGS_Value{$tgs}{VAR} }; [download]