in reply to Snort output; report changes only?
I have not used it myself - and it's not Perl - but it might be what you're looking for, even so.