in reply to Re^2: Not able to assign a hash reference.
in thread Not able to assign a hash reference.

I don't understand the question

eval is unsafe, it permits things like system "rm -rf ~ / " -- you're always getting more than a hashref

If you only want a hashref use SafestUndumper