in reply to perl substitution difficulty
Parse::Syslog looks like it might be just the ticket.
Cheers, Darren :)