I have one question regarding access of the perl hash key which is an array reference like below i have an hash
my $all = {'text' => [ 'HJ0039_x.pdf' , 'HJ0039' , 'HJ0039' ]};To access the above elements i can use two ways like below
print " $all->{text}[0] ;and
print "${$all->{text}}[0]can you please explain me clearly what is the difference between the above two methods , without de-referencing the array how we are able to access the array elements
Thanks
In reply to Re^4: perl array of hashes help
by ragilla
in thread perl array of hashes help
by ragilla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |