in reply to Re^2: Log Parsing
in thread Log Parsing

Just for completeness, this doesn't do what you think it does:
print filehandle, $3

To print to a filehandle use print FILEHANDLE VALUES. Notice the lack of a comma between FILEHANDLE and VALUES. The correct version of your print would be:

print filehandle $3