Re: Substitution problem

2009-07-23 Thread Chris Wagner
Hi. I'm not totally sure what ur asking but it seems that u want to do variable substitution in an XML file. If the variable names are already in the text u need an eval. $text = eval "\"$xmlfile\""; That will replace $1 with whatever it's current value is. However, this isn't really the right

Substitution problem

2009-07-15 Thread Kprasad
Here is the Perl code which I'm using for substitution in xml file UIIE_A_123456.xml. I'm getting search string and replacement string for substitution from another file (cleanup.txt) But after substitution, variable of replaced string doesn't interpolated as defined in 'cleanup.txt' i.e., htt