How do I get my regular expression to default to zero without wipping out all my results when printing them to an html table. I have included a snippet of the data to be processed along with the subroutine that proecesses the data and the corresponding HTML table which displays the results. If I use a series of else statements I get a screen without a table. With the else statements removed, the results display perfectly,however, a non-matched value is presented as any empty space. I would like 0 as a result instead this. I have included the entire code below. Any suggestions. Hector. sub calculate { while ($_ = <FH> ) { ($q1,$q2,$q3,$q4,$q5,$q6,$q7,$q8,$q9,$q10,$q11,$q12,$c1,$c2,$c3,$c4,$c5,$c6) = split(':', $_); ############################################################# #Sample of the data contained in the filehandle # #5:5:5:5:5:1:3:1:4:1:1:1:1:1:1:1:1:1 #4:5:2:5:1:1:3:1:4:1:1:1:1:1:1:1:1:1 #2:5:2:5:1:1:3:1:4:1:1:1:1:1:1:1:1:1 # # # # ######################################################à $b=0; if ($q1 =~/0/) { ++$q1_00;} else{$q1_01=$b} #If I use this syntax throughout if ($q1 =~/1/) { ++$q1_01;} else{$q1_02=$b} #my browser will not print if ($q1 =~/2/) { ++$q1_02;} else{$q1_03=$b} #a results table see HTML below. Removing the else statements if ($q1 =~/3/) { ++$q1_03;} else{$q1_04=$b} #print the appropriate results table, however, if ($q1 =~/4/) { ++$q1_04;} else{$q1_05=$b} #when the variable does not match the regexp #I would like it (i.e.$q1_01 is 0) to default to 0 which #then would appear in the browser as a 0. Instead this does not happen. The #table contains all matched and calculated data, however, a zero value match is #left as a blank cell in the HTML table. How do I correct this problem? if ($q2 =~/0/) { ++$q2_00;} if ($q2 =~/1/) { ++$q2_01;} if ($q2 =~/2/) { ++$q2_02;} if ($q2 =~/3/) { ++$q2_03;} if ($q2 =~/4/) { ++$q2_04;} if ($q2 =~/5/) { ++$q2_05;} #Question 2 evaluation arguments if ($q2 =~/0/) { ++$q2_00;} if ($q2 =~/1/) { ++$q2_01;} if ($q2 =~/2/) { ++$q2_02;} if ($q2 =~/3/) { ++$q2_03;} if ($q2 =~/4/) { ++$q2_04;} if ($q2 =~/5/) { ++$q2_05;} #Question 3 evaluation arguments if ($q3 =~/0/) { ++$q3_00;} if ($q3 =~/1/) { ++$q3_01;} if ($q3 =~/2/) { ++$q3_02;} if ($q3 =~/3/) { ++$q3_03;} if ($q3 =~/4/) { ++$q3_04;} if ($q3 =~/5/) { ++$q3_05;} #Question 4 evaluation arguments if ($q4 =~/0/) { ++$q4_00;} if ($q4 =~/1/) { ++$q4_01;} if ($q4 =~/2/) { ++$q4_02;} if ($q4 =~/3/) { ++$q4_03;} if ($q4 =~/4/) { ++$q4_04;} if ($q4 =~/5/) { ++$q4_05;} #Question 5 evaluation arguments if ($q5 =~/0/) { ++$q5_00;} if ($q5 =~/1/) { ++$q5_01;} if ($q5 =~/2/) { ++$q5_02;} if ($q5 =~/3/) { ++$q5_03;} if ($q5 =~/4/) { ++$q5_04;} if ($q5 =~/5/) { ++$q5_05;} #Question 6 evaluation arguments if ($q6 =~/0/) { ++$q6_00;} if ($q6 =~/1/) { ++$q6_01;} if ($q6 =~/2/) { ++$q6_02;} if ($q6 =~/3/) { ++$q6_03;} if ($q6 =~/4/) { ++$q6_04;} if ($q6 =~/5/) { ++$q6_05;} #Question 7 evaluation arguments if ($q7 =~/0/) { ++$q7_00;} if ($q7 =~/1/) { ++$q7_01;} if ($q7 =~/2/) { ++$q7_02;} if ($q7 =~/3/) { ++$q7_03;} if ($q7 =~/4/) { ++$q7_04;} if ($q7 =~/5/) { ++$q7_05;} #Question 8 evaluation arguments if ($q8 =~/0/) { ++$q8_00;} if ($q8 =~/1/) { ++$q8_01;} if ($q8 =~/2/) { ++$q8_02;} if ($q8 =~/3/) { ++$q8_03;} if ($q8 =~/4/) { ++$q8_04;} if ($q8 =~/5/) { ++$q8_05;} #Question 9 evaluation arguments if ($q9 =~/0/) { ++$q9_00;} if ($q9 =~/1/) { ++$q9_01;} if ($q9 =~/2/) { ++$q9_02;} if ($q9 =~/3/) { ++$q9_03;} if ($q9 =~/4/) { ++$q9_04;} if ($q9 =~/5/) { ++$q9_05;} #Question 10 evaluation arguments if ($q10 =~/0/) { ++$q10_00;} if ($q10 =~/1/) { ++$q10_01;} if ($q10 =~/2/) { ++$q10_02;} if ($q10 =~/3/) { ++$q10_03;} if ($q10 =~/4/) { ++$q10_04;} if ($q10 =~/5/) { ++$q10_05;} #Question 11 evaluation arguments if ($q11 =~/0/) { ++$q11_00;} if ($q11 =~/1/) { ++$q11_01;} if ($q11 =~/2/) { ++$q11_02;} if ($q11 =~/3/) { ++$q11_03;} if ($q11 =~/4/) { ++$q11_04;} if ($q11 =~/5/) { ++$q11_05;} #Question 12 evaluation arguments if ($q12 =~/0/) { ++$q12_00;} if ($q12 =~/1/) { ++$q12_01;} if ($q12 =~/2/) { ++$q12_02;} if ($q12 =~/3/) { ++$q12_03;} if ($q12 =~/4/) { ++$q12_04;} if ($q12 =~/5/) { ++$q12_05;} #Question 1 course evaluation arguments if ($c1 =~/0/) { ++$c1_00;} if ($c1 =~/1/) { ++$c1_01;} if ($c1 =~/2/) { ++$c1_02;} if ($c1 =~/3/) { ++$c1_03;} if ($c1 =~/4/) { ++$c1_04;} if ($c1 =~/5/) { ++$c1_05;} #Question 2 course evaluation arguments if ($c2 =~/0/) { ++$c2_00;} if ($c2 =~/1/) { ++$c2_01;} if ($c2 =~/2/) { ++$c2_02;} if ($c2 =~/3/) { ++$c2_03;} if ($c2 =~/4/) { ++$c2_04;} if ($c2 =~/5/) { ++$c2_05;} #Question 3 course evaluation arguments if ($c3 =~/0/) { ++$c3_00;} if ($c3 =~/1/) { ++$c3_01;} if ($c3 =~/2/) { ++$c3_02;} if ($c3 =~/3/) { ++$c3_03;} if ($c3 =~/4/) { ++$c3_04;} if ($c3 =~/5/) { ++$c3_05;} #Question 4 course evaluation arguments if ($c4 =~/0/) { ++$c4_00;} if ($c4 =~/1/) { ++$c4_01;} if ($c4 =~/2/) { ++$c4_02;} if ($c4 =~/3/) { ++$c4_03;} if ($c4 =~/4/) { ++$c4_04;} if ($c4 =~/5/) { ++$c4_05;} #Question 5 course evaluation arguments if ($c5 =~/0/) { ++$c5_00;} if ($c5 =~/1/) { ++$c5_01;} if ($c5 =~/2/) { ++$c5_02;} if ($c5 =~/3/) { ++$c5_03;} if ($c5 =~/4/) { ++$c5_04;} if ($c5 =~/5/) { ++$c5_05;} #Question 6 course evaluation arguments if ($c6 =~/0/) { ++$c6_00;} if ($c6 =~/1/) { ++$c6_01;} if ($c6 =~/2/) { ++$c6_02;} if ($c6 =~/3/) { ++$c6_03;} if ($c6 =~/4/) { ++$c6_04;} if ($c6 =~/5/) { ++$c6_05;} #Total questions answered $qa1= $q1_05+$q1_04+$q1_03+$q1_02+$q1_01+$q1_00; #Total questions answered $qa2= $q2_05+$q2_04+$q2_03+$q2_02+$q2_01+$q2_00; #Total questions answered $qa3= $q3_05+$q3_04+$q3_03+$q3_02+$q3_01+$q3_00; #Total questions answered $qa4= $q4_05+$q4_04+$q4_03+$q4_02+$q4_01+$q4_00; #Total questions answered $qa5= $q5_05+$q5_04+$q5_03+$q5_02+$q5_01+$q5_00; #Total questions answered $qa6= $q6_05+$q6_04+$q6_03+$q6_02+$q6_01+$q6_00; #Total questions answered $qa7= $q7_05+$q7_04+$q7_03+$q7_02+$q7_01+$q7_00; #Total questions answered $qa8= $q8_05+$q8_04+$q8_03+$q8_02+$q8_01+$q8_00; #Total questions answered $qa9= $q9_05+$q9_04+$q9_03+$q9_02+$q9_01+$q9_00; #Total questions answered $qa11= $q11_05+$q11_04+$q11_03+$q11_02+$q11_01+$q11_00; #Total questions answered $qa10= $q10_05+$q10_04+$q10_03+$q10_02+$q10_01+$q10_00; #Total questions answered $qa12= $q12_05+$q12_04+$q12_03+$q12_02+$q12_01+$q12_00; #Question 1 calculation arguments $totalq1=($q1_05*5)+($q1_04*4)+($q1_03*3)+($q1_02*2)+($q1_01*1)+($q1_00*0); #Question 2 calculation arguments $totalq2=($q2_05*5)+($q2_04*4)+($q2_03*3)+($q2_02*2)+($q2_01*1)+($q2_00*0); #Question 3 calculation arguments $totalq3=($q3_05*5)+($q3_04*4)+($q3_03*3)+($q3_02*2)+($q3_01*1)+($q3_00*0); #Question 4 calculation arguments $totalq4=($q4_05*5)+($q4_04*4)+($q4_03*3)+($q4_02*2)+($q4_01*1)+($q4_00*0); #Question 5 calculation arguments $totalq5=($q5_05*5)+($q5_04*4)+($q5_03*3)+($q5_02*2)+($q5_01*1)+($q5_00*0); #Question 6 calculation arguments $totalq6=($q6_05*5)+($q6_04*4)+($q6_03*3)+($q6_02*2)+($q6_01*1)+($q6_00*0); #Question 7 calculation arguments $totalq7=($q7_05*5)+($q7_04*4)+($q7_03*3)+($q7_02*2)+($q7_01*1)+($q7_00*0); #Question 8 calculation arguments $totalq8=($q8_05*5)+($q8_04*4)+($q8_03*3)+($q8_02*2)+($q8_01*1)+($q8_00*0); #Question 9 calculation arguments $totalq9=($q9_05*5)+($q9_04*4)+($q9_03*3)+($q9_02*2)+($q9_01*1)+($q9_00*0); #Question 10 calculation arguments $totalq10=($q10_05*5)+($q10_04*4)+($q10_03*3)+($q10_02*2)+($q10_01*1)+($q10_00*0); #Question 11 calculation arguments $totalq11=($q11_05*5)+($q11_04*4)+($q11_03*3)+($q11_02*2)+($q11_01*1)+($q11_00*0); #Question 12 calculation arguments $totalq12=($q12_05*5)+($q12_04*4)+($q12_03*3)+($q12_02*2)+($q12_01*1)+($q12_00*0); #Question 1c calculation arguments $totalc1=($c1_05*5)+($c1_04*4)+($c1_03*3)+($c1_02*2)+($c1_01*1)+($c1_00*0); #Question 2c calculation arguments $totalc2=($c2_05*5)+($c2_04*4)+($c2_03*3)+($c2_02*2)+($c2_01*1)+($c2_00*0); #Question 3c calculation arguments $totalc3=($c3_05*5)+($c3_04*4)+($c3_03*3)+($c3_02*2)+($c3_01*1)+($c3_00*0); #Question 4c calculation arguments $totalc4=($c4_05*5)+($c4_04*4)+($c4_03*3)+($c4_02*2)+($c4_01*1)+($c4_00*0); #Question 5c calculation arguments $totalc5=($c5_05*5)+($c5_04*4)+($c5_03*3)+($c5_02*2)+($c5_01*1)+($c5_00*0); #Question 6c calculation arguments $totalc6=($c6_05*5)+($c6_04*4)+($c6_03*3)+($c6_02*2)+($c6_01*1)+($c6_00*0); #Total questions answered $c1= $c1_05+$c1_04+$c1_03+$c1_02+$c1_01+$c1_00; #Total questions answered $c2= $c2_05+$c2_04+$c2_03+$c2_02+$c2_01+$c2_00; #Total questions answered $c3= $c3_05+$c3_04+$c3_03+$c3_02+$c3_01+$c3_00; #Total questions answered $c4= $c4_05+$c4_04+$c4_03+$c4_02+$c4_01+$c4_00; #Total questions answered $c5= $c5_05+$c5_04+$c5_03+$c5_02+$c5_01+$c5_00; #Total questions answered $c6= $c6_05+$c6_04+$c6_03+$c6_02+$c6_01+$c6_00; } #This stuff is the correct code to calculate the average per question $q1_avg_score = $totalq1 / $qa1; $q2_avg_score = $totalq2 / $qa2; $q3_avg_score = $totalq3 / $qa3; $q4_avg_score = $totalq4 / $qa4; $q5_avg_score = $totalq5 / $qa5; $q6_avg_score = $totalq6 / $qa6; $q7_avg_score = $totalq7 / $qa7; $q8_avg_score = $totalq8 / $qa8; $q9_avg_score = $totalq9/$qa9; $q10_avg_score = $totalq10 / $qa10; $q11_avg_score = $totalq11 / $qa11; $q12_avg_score = $totalq12 / $qa12; $c1_avg_score = $totalc1 /$c1; $c2_avg_score = $totalc2 /$c2; $c3_avg_score = $totalc3 /$c3; $c4_avg_score = $totalc4 /$c4; $c5_avg_score = $totalc5 /$c5; $c6_avg_score = $totalc6 /$c6; $q_total = $qa1 + $qa2 + $qa3 + $qa4 + $qa5 + $qa6 + $qa7 + $qa8 + $qa9 + $qa10 + $qa11 + $qa12; $c_total= $c1 + $c2 + $c3 + $c4 + $c5 + $c6; $c_q_total = $q_total + $c_total; $course_avg = ($c1_avg_score +$c2_avg_score + $c3_avg_score + $c4_avg_score + $c5_avg_score + $c6_avg_score) / (6); $prof_avg= ($q1_avg_score +$q2_avg_score + $q3_avg_score + $q4_avg_score + $q5_avg_score + $q6_avg_score +$q7_avg_score + $q8_avg_score + $q9_avg_score + $q10_avg_score + $q11_avg_score +$q12_avg_score) /(12); $course_avg1 = $c1_avg_score +$c2_avg_score + $c3_avg_score + $c4_avg_score + $c5_avg_score + $c6_avg_score; $prof_avg1 = $q1_avg_score + $q2_avg_score + $q3_avg_score + $q4_avg_score + $q5_avg_score + $q6_avg_score + $q7_avg_score + $q8_avg_score + $q9_avg_score + $q10_avg_score + $q11_avg_score +$q12_avg_score; $grand_tot = ($course_avg1 + $prof_avg1) / (18); $total_avg = $course_avg1 + $prof_avg1 / (2); $course_prof_avg= $course_avg + $prof_avg / 2; $course_avg_tot = $totalc1 +$totalc2 + $totalc3 + $totalc4 + $totalc5 + $totalc16; $prof_avg_tot= $totalq1 +$totalq2 + $totalq3 + $totalq4 + $totalq5 + $totalq6 + $totalq7 + $totalq8 + $totalq9 + $totalq10 + $totalq11 + $totalq12; $course_prof_tot= $course_avg_tot + $prof_avg_tot; $total_count = $count * 12; $total_count2 = $count * 6; $total_count3 = $total_count + $total_count2; $total_count4 = $course_avg_tot + $prof_avg_tot; #Format results to two decimal places $q1AVG = sprintf("%.2f", $q1_avg_score); $q2AVG = sprintf("%.2f", $q2_avg_score); $q3AVG = sprintf("%.2f", $q3_avg_score); $q4AVG = sprintf("%.2f", $q4_avg_score); $q5AVG = sprintf("%.2f", $q5_avg_score); $q6AVG = sprintf("%.2f", $q6_avg_score); $q7AVG = sprintf("%.2f", $q7_avg_score); $q8AVG = sprintf("%.2f", $q1_avg_score); $q9AVG = sprintf("%.2f", $q9_avg_score); $q10AVG = sprintf("%.2f", $q10_avg_score); $q11AVG = sprintf("%.2f", $q11_avg_score); $q12AVG = sprintf("%.2f", $q12_avg_score); $c1AVG = sprintf("%.2f", $c1_avg_score); $c2AVG = sprintf("%.2f", $c2_avg_score); $c3AVG = sprintf("%.2f", $c3_avg_score); $c4AVG = sprintf("%.2f", $c4_avg_score); $c5AVG = sprintf("%.2f", $c5_avg_score); $c6AVG = sprintf("%.2f", $c6_avg_score); $cav= sprintf("%.2f", $course_avg); $proft = sprintf("%.2f", $prof_avg); $grand =sprintf("%.2f", $grand_tot); } } close (FH); #close db after routines have done their job ################################################################### #The HTML table used to display the results #################################################################### print <<STATS; <CENTER> <P><FONT FACE="Arial Black" COLOR="#FF0000">COURSE STATISTICS TABLE </FONT> <P><FONT FACE="Arial Black" COLOR="#0033FF">PROFESSOR: </FONT><FONT FACE="Arial Black" COLOR="#FF0000">\t\U$result </FONT><FONT FACE="Arial Black" COLOR="#0033FF">COURSE:</FONT><FONT FACE="Arial Black" COLOR="#FF0000">\t$c</FONT> </center> <br> <center> <TABLE BORDER=1 BGCOLOR="#FFFFCC" CELLPADDING=0 CELLSPACING=1 > <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">QUESTION</FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">AVG. SCORE</FONT></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">5.00</FONT></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">4.00</FONT></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">3.00</FONT></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">2.00</FONT></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">1.00</FONT></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">TOTAL STUDENTS RESPONDING</FONT></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">TOTAL QUESTION SCORE</FONT></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">TOTAL QUESTIONS ANSWERED</FONT></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>1</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q1AVG</B></FONT></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q1_05</B></FONT></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q1_04</B></FONT></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q1_03</B></FONT></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q1_02</B></FONT></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q1_01</B></FONT></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa1</B></FONT></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq1</B></FONT></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa1</B></FONT></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>2</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q2AVG</B></FONT></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q2_05</B></FONT></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q2_04</B></FONT></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q2_03</B></FONT></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q2_02</B></FONT></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q2_01</B></FONT></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa2</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq2</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa2</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>3</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q3AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q3_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q3_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q3_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q3_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q3_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa3</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq3</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa3</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>4</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q4AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q4_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q4_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q4_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q4_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q4_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa4</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq4</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa4</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>5</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q5AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q5_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q5_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q5_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q5_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q5_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa5</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq5</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa5</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>6</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q6AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q6_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q6_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q6_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q6_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q6_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa6</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq6</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa6</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>7</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q7AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q7_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q7_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q7_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q7_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q7_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa7</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq7</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa7</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>8</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q8AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q8_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q8_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q8_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q8_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q8_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa8</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq8</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa8</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>9</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q9AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q9_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q9_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q9_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q9_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q9_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa9</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq9</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa9</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>10</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q10AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q10_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q10_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q10_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q10_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q10_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa10</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq10</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa10</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>11</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q11AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q11_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q11_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q11_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q11_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q11_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa11</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq11</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa11</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>12</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$q12AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$q12_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q12_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$q12_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$q12_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$q12_01</B></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial"><B>$qa12</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalq12</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$qa12</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">PROF. AVG.</FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial" COLOR="#0000FF"><B>$proft</B></FONT></P> </TD> <TD WIDTH=21> <P></P> </TD> <TD WIDTH=24> <P></P> </TD> <TD WIDTH=24> <P></P> </TD> <TD WIDTH=23> <P></P> </TD> <TD WIDTH=25> <P></P> </TD> <TD WIDTH=204> <P></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>$prof_avg_tot</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>$q_total</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>1</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$c1AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$c1_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c1_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c1_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$c1_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$c1_01</B></P> </TD> <TD WIDTH=204> <P></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalc1</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$c1</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>2</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$c2AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$c2_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c2_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c2_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$c2_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$c2_01</B></P> </TD> <TD WIDTH=204> <P></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalc2</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$c2</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>3</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$c3AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$c3_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c3_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c3_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$c3_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$c3_01</B></P> </TD> <TD WIDTH=204> <P></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalc3</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$c3</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>4</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$c4AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$c4_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c4_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c4_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$c4_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$c4_01</B></P> </TD> <TD WIDTH=204> <P></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalc4</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$c4</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>5</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$c5AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$c5_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c5_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c5_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$c5_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$c5_01</B></P> </TD> <TD WIDTH=204> <P></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalc5</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$c5</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>6</B></FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial"><B>$c6AVG</B></P> </TD> <TD WIDTH=21> <P><FONT SIZE="-2" FACE="Arial"><B>$c6_05</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c6_04</B></P> </TD> <TD WIDTH=24> <P><FONT SIZE="-2" FACE="Arial"><B>$c6_03</B></P> </TD> <TD WIDTH=23> <P><FONT SIZE="-2" FACE="Arial"><B>$c6_02</B></P> </TD> <TD WIDTH=25> <P><FONT SIZE="-2" FACE="Arial"><B>$c6_01</B></P> </TD> <TD WIDTH=204> <P></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial"><B>$totalc6</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial"><B>$c6</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">COURSE AVG.</FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial" COLOR="#0000FF"><B>$cav</B></P> </TD> <TD WIDTH=21> <P></P> </TD> <TD WIDTH=24> <P></P> </TD> <TD WIDTH=24> <P></P> </TD> <TD WIDTH=23> <P></P> </TD> <TD WIDTH=25> <P></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial" COLOR="#0000FF"><B>$total_count3</B></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial" COLOR="#0000FF"><B>$total_count4</B></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial" COLOR="#0000FF"><B>$c_total</B></P> </TD> </TR> <TR> <TD WIDTH=86> <P><FONT SIZE="-2" FACE="Arial Black" COLOR="#000000">TOT. AVG.</FONT></P> </TD> <TD WIDTH=89> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>$grand</B></FONT></P> </TD> <TD WIDTH=21> <P></P> </TD> <TD WIDTH=24> <P></P> </TD> <TD WIDTH=24> <P></P> </TD> <TD WIDTH=23> <P></P> </TD> <TD WIDTH=25> <P></P> </TD> <TD WIDTH=204> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>$total_count3</B></FONT></P> </TD> <TD WIDTH=178> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>$total_count4</B></FONT></P> </TD> <TD WIDTH=200> <P><FONT SIZE="-2" FACE="Arial" COLOR="#FF0000"><B>$c_q_total</B></FONT></P> </TD> </TR> </TABLE> </center> STATS ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]