now $h->{word1}->[3] is a reference to $h->{word2}.my $h = { 'word1'=>[1,2,3], 'word2'=>[4,5,6,7], }; push @{$h->{word1}}, $h->{word2};
In reply to Re: Hash part linking
by borisz
in thread Hash part linking
by chiburashka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |