in reply to Parsing Logs
Tip #3 from the Basic debugging checklist: use print inside your nested foreach loops to inspect variable values:
print "id = >>>$id<<<\n";
print "line = >>>$line<<<\n";
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (542 votes). Check out past polls.