in reply to Re: the next day's date
in thread the next day's date

But then you have to wait a day. It can be optimized:
sub next_day { sleep 24 * 60 * 60; my $date = localtime; sleep -24 * 60 * 60; return $date; }
Abigail