Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Uer Perl Variable in txt file

by vinaybond (Novice)
on Aug 07, 2012 at 06:13 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://985890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found