thanks.i know that when we want put an array for a key we have to reference to that for calling it back.but when i change to following code it is still not working and i have error.
my $m=(${@{$site1{$_}}}[1]-${@{$site2{$_}}}[1]); my $n=(${@{$site1{$_}}}[0]-${@{$site2{$_}}}[0]);
now,
@{$site1{$_}}is a reference,isnt it?
In reply to Re^2: hash references
by Anonymous Monk
in thread hash references
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |