
Untitled
By: a guest on
Apr 23rd, 2012 | syntax:
Perl | size: 0.48 KB | hits: 14 | expires: Never
#!/usr/bin/perl
#print "Content-type: text/html\n\n";
use CGI qw(:standard);
print header();
print start_html('Roll Calculations!');
print "Single Roll Calculation (following closely to the example)"
print "Length = ", param('Length'), ".";
print "Width = ", param('Width'), ".";
print "Height = ", param('Height'), ".";
print "Coverage = ", param('Coverage'), ".";
#rolls = (Length+Width)*2*Height/Coverage;
#print "<center>Required Rolls: ", param('rolls'), ".</center>";