Hi haukex,actually i want the data in below format
$var1 ={apple-A =>[30,40,50,60]}because i have to achieve the average of it as well, once the output is in that format.one of the reason is i was instructed to do achieve output in that way.
In reply to Re^6: Adding text file data to hashes and array
by Tigor
in thread Adding text file data to hashes and array
by Tigor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |