in reply to get one value from Tie::IxHash
When I run your code, I get the extremely helpful error message:
Change:Can't locate object method "Value" via package "Tie::IxHash"
to:print $r->Value('a') ; # doesn't work
According to the Tie::IxHash module docs, the name of the function is 'Values' (with an 's'), and it prints '1' for me.print $r->Values('a') ;
|
|---|