Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Uer Perl Variable in txt file

by vinaybond (Novice)
on Aug 07, 2012 at 06:13 UTC ( #985890=note: print w/ replies, xml ) Need Help??


in reply to Re: 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


Comment on Re^2: Uer Perl Variable in txt file
Replies are listed 'Best First'.
Re^3: Uer Perl Variable in txt file
by Anonymous Monk on Aug 07, 2012 at 08:44 UTC

    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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2015-07-28 10:42 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 (254 votes), past polls