$myvar= 'foo'; print < Todays variable is: $myvar ENDHTML #### open $templatefile; $newfilecontent= &parse($templatefile, \@replacements); open $newfile; print ($newfile, $newfilecontent);