Reading data from table into hash
![enter image description here][1]


  [1]: http://i.stack.imgur.com/G8M9p.jpg

i want to read the data from table into hash and then split the value and price into array. 
for example:
Then i want to filter with user input the add the price. 
if user selected accessories1 then I want to read the value of accessories that is 001 and then get the price of 001 which is 10.

All coding is done in perl

Appreciate if someone gives me some ideas.

Thanks
Reading data from table into hash
===

![enter image description here][1]


  [1]: http://i.stack.imgur.com/G8M9p.jpg

i want to read the data from table into hash and then split the value and price into array. 
for example:
Then i want to filter with user input the add the price. 
if user selected accessories1 then I want to read the value of accessories that is 001 and then get the price of 001 which is 10.

All coding is done in perl

Appreciate if someone gives me some ideas.

Thanks