;
Sent: Thursday, April 15, 2004 5:47 PM
Subject: Re: Getting the values of some variables
> do you use double quotes to interpolate the string ?
>
>
> Octavian Rasnita wrote:
>
> >Hi all,
> >
> >I have a text file that contains a text something lik
Octavian Rasnita <[EMAIL PROTECTED]> wrote:
:
: I have a text file that contains a text something like
: this:
:
: This text contains a $aa variable and a $bb variable
: and a $cc one.
:
: My program reads this text and I want to replace the
: variables with their values, then return the result
: s
do you use double quotes to interpolate the string ?
Octavian Rasnita wrote:
Hi all,
I have a text file that contains a text something like this:
This text contains a $aa variable and a $bb variable and a $cc one.
My program reads this text and I want to replace the variables with their
value
Hi all,
I have a text file that contains a text something like this:
This text contains a $aa variable and a $bb variable and a $cc one.
My program reads this text and I want to replace the variables with their
values, then return the result string.
How can I do this?
Is using s/(\$\w+)/eval($