Think about Loose Coupling | |
PerlMonks |
Howto load list context into hash of hashes?by dt98 (Initiate) |
on Nov 23, 2011 at 05:36 UTC ( [id://939597]=perlquestion: print w/replies, xml ) | Need Help?? |
dt98 has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm tring to add a list to a fairly complicated hash of hashes data structure. $REPO_HASH {$gqueried_repo} {REPO_BRANCHES} = @branch_list @branch_list is a simple array that does contain valid info which can be displayed in a for loop. When I try to print the the above hash I only the length of the array like: Testing branch display=1 Using:
What I'm going with the Hash seems to be ok where similar to the following works fine for scalars: print RPTR "$REPO_HASH{$repository}{REPO_OWNER}. "; I'm good with perl, but this is a little above me. Can anyone just suggest what I'm doing wrong plz...
Back to
Seekers of Perl Wisdom
|
|