in reply to how to read perl variable from a line read from a file
The value is being read as literal string. You could try any of s///ee, eval "", some sort of -- overkill in this case -- template facility on the string read.
In Section
Seekers of Perl Wisdom