Quote:
Originally Posted by daigle91
It was a fun little 'proof of concept' to show it can be done quite quickly.
To really speed up the process, it would be best to design the layout of your score sheet page in a visual HTML editor where you can create tables (drag and drop), text and other framework easily, then extract its underlying HTML source code into your Perl script with the corresponding coding ...
for example,
print " <td>MON</td>";
print " <td>$x</td>";
print " <td>$y</td>";
print " <td>$z</td>";
print " <td>$sum</td>";
print " "; is the Perl command (has options to print each line to a file, which you will ultimately need to do to create your HTML page with data)
<td>MON</td> is some table source code from your HTML editor
$x, $y, $z are the Perl variables that store the period goals data from the CSV file ($sum would be calculated in script)
|
That's cool to know it can be done....but all that is foreign to me. Maybe it's time to find some youtube videos. lol