Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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
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 cooling their heels in the Monastery: (5)
As of 2014-12-27 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls