umm... thats kinda easy here!
-----------------code-------------------
#!/usr/bin/perl
use CGI qw(:standard);
print "Content-type: text/htmlnn";
$var1 = param('fieldname');
$var2 = param('fieldname2');
#if it is supposed to be mathamatical
$added = $var1 + $var2;
print "your text here
$var1" ;
print "your text here
$var2" ;
print "
";
print "your text here $added
";
------------------
check out my site at
http://www.ultimategamers2000.com