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";
In reply to Re: Parsing Logs
by toolic
in thread Parsing Logs
by mdotpl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |