in reply to keys and values

> Required output should look like this.  >  Print, contents of csv are value_1 and value_2

 print "contents of csv are $hash{key_1} and $hash{key_2}"

you'll most probably need to have a look at How (Not) To Ask A Question

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

update

And next time you dump your hash better use a reference \%hash and not just %hash . :)