%vegetable_costs = (Beans => 300
Carrots => 200,
Apple => 250 );
To get the value of the key called Beans you use $vegetable_costs{Beans} .
How do you do the reverse and get the value of the key?
Anyone?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
