Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[choroba]: I had 24.5 in January, but the last three month are below 18.5
[choroba]: and I'm trying hard not to get involved in troll feeding.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-04-26 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (476 votes). Check out past polls.