in reply to Good & Easy Date Module?

I agree with McD. cron(8) or at(1) is what you want here. IMHO you're reinventing the wheel. Even though it's possible to do in perl, I think this is a case where it's not really worth it.

BlueLines

Disclaimer: This post may contain inaccurate information, be habit forming, cause atomic warfare between peaceful countries, speed up male pattern baldness, interfere with your cable reception, exile you from certain third world countries, ruin your marriage, and generally spoil your day. No batteries included, no strings attached, your mileage may vary.