Jason Silver

Web Development by CrookedBush.com Inc.

My Journal and Diary

2004

March

Friday, March 5th, 2004

Bug Found In AFU

I found out yesterday that there's a leap year bug in Auto FollowUp. If you send out daily messages with AFU, then it will break in leap years. I'll be uploading a fix to this script to Intelliscript.net. My own version of the 'millenial bug!' haha, If you want a temporary fix for the script, go to the subroutine calculate_elapsed_days, around line 193 (this sub is in both run.pl and auto_followup.pl). Make adjustments by one day for each of the twelve months, and change the year value to 366. This fix will stop working in January of 2005, so you'll need to get the updated script when it comes out. ~Jason
Tags:webdesign perl_scripts autofollowup 0 likes