Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to read perl variable from a line read from a file

by parv (Priest)
on Jan 31, 2013 at 13:05 UTC ( #1016315=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016315]
help
Chatterbox?
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-10-21 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (268 votes). Check out past polls.

    Notices?