Quote:
Originally Posted by tomkmb
Awesome! A friend of mine programs in Pearl for our Front Office Football league, he shared something with me and helped me install the Pearl interpreter and it was very simple, I'd say that could be something people could do relatively easily with simple instruction.
Thanks for taking the time to take a stab at something like this!
|
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)