John, just wanted to thank you for your help. I've also pasted in the file, a sample
data file and the output to this message, in case anyone's following along in the
archives.
You're suggestions to improve time were amazing. I went from analyzing an 84,000 line
log file in 30 minutes to just s
Kevin Zembower wrote:
>
> I'm still having trouble with the regex expression. I've pasted in
> the files and program at the end, for reference.
>
> In your message, you said:
> my %hash = ( abstract => '', author => '', endtitle => '' );
> $hash{ lc $2 } = $3
> while $query =~
>
John, thank you so much for your generous gift of going throughout my program and
making suggestions. As I typed in your suggestions, I tried to make sense of what you
were proposing, and most of the time I clearly understood it.
I'm still having trouble with the regex expression. I've pasted in
Kevin Zembower wrote:
>
> I'm trying to analyze web logs records which look like this:
>
> 2004-03-28 00:38:31 d7.facsmf.utexas.edu - W3SVC1 DB db.jhuccp.org GET
> /dbtw-wpd/exec/dbtwpcgi.exe
> XC=%2Fdbtw-wpd%2Fexec%2Fdbtwpcgi.exe&BU=http%3A%2F%2Fdb.jhuccp.org%2Fpopinform%2Fbasic.html&QB0=AND&Q
I'm trying to analyze web logs records which look like this:
2004-03-28 00:38:31 d7.facsmf.utexas.edu - W3SVC1 DB db.jhuccp.org GET
/dbtw-wpd/exec/dbtwpcgi.exe
XC=%2Fdbtw-wpd%2Fexec%2Fdbtwpcgi.exe&BU=http%3A%2F%2Fdb.jhuccp.org%2Fpopinform%2Fbasic.html&QB0=AND&QF0=Abstract+%7C+KeywordsMajor+%7C+K