Use this function:
sub tomorrow_date { sleep 86_400; return localtime(); }
http://www.flightlab.com/~joe/sgml/faq-not.txt
Use this function: