foreach $line (@array_file)
{
gankline($line);
#$sql = "INSERT INTO logs VALUES (NULL, '$line')";
#execmysql($sql);
}
}
sub gankline
{
$line = shift;
#print $line;
$time = strptime($line);
print $time;
}
in gankline, i will split the string apart, and hopefully get a good timestamp variable, which i want to return back for future use...
[Thu Sep 7 15:48:03 2006] Active Server Pages, , ASP 0113~Script timed out~The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeOut or by changing the value in the ASP administration tools. cker.asp, line: -1
i am trying to build up a bug databse for our programmers