good chemistry is complicated,
and a little bit messy -LW
Uer Perl Variable in txt fileby vinaybond (Novice)
|on Aug 06, 2012 at 13:47 UTC||Need Help??|
vinaybond has asked for the
wisdom of the Perl Monks concerning the following question:
I have a file which has contents like this.
Here is output I am getting:
This is $name
I want output like this
This is Test
I can achieve this using regexp ($_=~s/\$name/$name/;) but there are multiple variable in the file and I have to write N regexp line for N number or variable.
Is there another simple way.