Ernest W. Lessenger <[EMAIL PROTECTED]> wrote: > > my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(); > my $timeString = $hour.$min;
If the current time is 09:00, then $timeString ends up being "9" . "0", or "90". You probably want this: my $timeString = sprintf("%02d%02d", $hour, $min); This is some really great work, by the way. :) -- [EMAIL PROTECTED] (Fuzzy Fox) || "Good judgment comes from experience. sometimes known as David DeSimone || Experience comes from bad judgment." ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk