in reply to Re: hash references
in thread hash references
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: hash references
by jethro (Monsignor) on Aug 01, 2011 at 12:04 UTC | |
by Anonymous Monk on Aug 01, 2011 at 12:19 UTC | |
by jethro (Monsignor) on Aug 01, 2011 at 14:36 UTC | |
|
Re^3: hash references
by moritz (Cardinal) on Aug 01, 2011 at 11:49 UTC | |
by Anonymous Monk on Aug 01, 2011 at 11:57 UTC | |
by moritz (Cardinal) on Aug 01, 2011 at 12:01 UTC |