in reply to Using eval to create a hash
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!