while( <TEMPLATE> ) { s/\$dname/$dname/g; print TARGET ; } [download]
In reply to Re: Parsing variables from one file to another. by hbm in thread Parsing variables from one file to another. by fatmcgav