How do I retrieve the values from the hash now?
Use the same expressions you used for assignment.
$TGS_Value{$tgs}{VAR} = \@VAR;
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} };
In reply to Re^5: Perl Variables
by kyle
in thread Perl Variables
by Nalina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |