in reply to Using eval to create a hash

You a are using block eval not string eval.

Try %index = eval "$index"

( actually the double quotes are even not necessary here )

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!