in reply to Re: using / accessing nested hash/array references
in thread using / accessing nested hash/array references
and I am still receiving the scalar error. I have experimented with initializing like$hostresults[0] = \@{&get_list()};
but I still received errors. My attempts would have been with the same context though. The right side sub returns the array of hash references which is why I left in the line above in my original example. My hope was to show what was happening outside of my context or syntax errors. Thank youmy @hostresults = (\@result1,\@result2); #or my @hostresults = (@result1,@result2);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: using / accessing nested hash/array references
by state-o-dis-array (Hermit) on Jan 19, 2011 at 00:03 UTC |