One of the reasons to use Perl is that other people have done a lot of the work for you (note I am not speaking about getting your script fixed here or on SO!)
So don't reinvent the wheel: There are lots of modules for interacting with the syslog on CPAN
You might like to start with Parse-Syslog-Line.
Hope this helps
In reply to Re: Output problems
by 1nickt
in thread Output problems
by shingster08
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |