in reply to Re^2: Returning hash reference from a sub
in thread Returning hash reference from a sub
... %final_data = @loop_data; ...
What is this line supposed to do?
Please also explain how you intend to use the data stored in %final_data.
Maybe you wanted to use the following construct instead?
return { names => \@loop_data };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Returning hash reference from a sub
by tobias_hofer (Friar) on Mar 18, 2013 at 14:10 UTC | |
|
Re^4: Returning hash reference from a sub
by Anonymous Monk on Mar 18, 2013 at 14:08 UTC | |
by Corion (Patriarch) on Mar 18, 2013 at 14:13 UTC | |
by tobias_hofer (Friar) on Mar 18, 2013 at 14:13 UTC | |
by Anonymous Monk on Mar 18, 2013 at 14:29 UTC |