Steve wrote: > > > Oops, that if should be which is still giving me the error: > if ($line =~ /^(\d\d-\d\d-\d{4}\s+\d\d:\d\d:\d\d\.\d\d).+Session >
oh, another problem is that if you are using: mm-dd-yyyy hh:mm:ss directly to Date::Manip's ParseDate() function, it won't work. if you have say: 09-23-2002 12:23:21 ParseDate() will take it as: Year: 1909 Month: 223 Day: 2002 Hour: 12 Minute: 23 Second: 21 so: ParseDate('09-23-2002 12:23:21') || die("Invalid date string\n"); will print Invalid date string. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]