On Mon, Apr 08, 2002 at 09:02:52PM -0400, Pat Eyler said:
On Tue, 9 Apr 2002, Chris Cormack wrote:
You can safely ignore fines.pl, fines2.pl in misc is the real overdue calculating script.
Does this mean fines.pl can disappear and fines2.pl be renamed to fines.pl (no sense in leaving dead files around to confuse people).
I thought i already had, at least im pretty sure i removed fines.pl from the cvs tree. I didnt rename fines2.pl tho.
I thought it might be. I've noticed a few other things that look like debugging code. What about making them more obvious (and leaving them uncommented if you like) by doing something like:
print $numOverdueItems if $DEBUG
then when we want to debug something ... we just define a global $DEBUG and voila.
Excellent plan Chris -- Chris Cormack Programmer 025 500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz