... but it gives me the problem that the variable message at the end gets split up into an indeterminate number of csv values ...
No, the third parameter to split limits the number of resultant fields so the $remainder scalar variable holds the entirety of your variable message.
Cheers,
JohnGG
In reply to Re^3: Syslog files revisited
by johngg
in thread Syslog files revisited
by stevbutt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |