good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^5: How to calculate the column and print it in pie chart format using perl?by Corion (Patriarch) |
on Mar 22, 2017 at 09:42 UTC ( [id://1185425]=note: print w/replies, xml ) | Need Help?? |
You can easily convert between arrayref and hashref. If converting between arrays and hashes is problematic for you, maybe you should review your Perl learning material or program some exercises about how to convert between an array and a hash (and a hash and an array). For example, you might have this array:
How would you convert the data from @user (an array) to a hash (%user)?
In Section
Seekers of Perl Wisdom
|
|