Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Uer Perl Variable in txt file

by Anonymous Monk
on Aug 07, 2012 at 08:44 UTC ( #985917=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Uer Perl Variable in txt file
in thread Uer Perl Variable in txt file

Thank you very much. It solved my problem. I can use eval without worry as i am the one who is creating the file. -Vinay

And you never make mistakes? :)

I would worry about making mistakes, maybe not today, but a week from now, so I would avoid string eval unless this was a single-use-program, only to be used once

Otherwise I would use String::Interpolate or String::Interpolate::RE or another similar abstraction instead


Comment on Re^3: Uer Perl Variable in txt file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985917]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2015-07-02 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (37 votes), past polls