in reply to xemacs el code to check for ";"
I must agree that cperl-mode is worthwhile. Going beyond just checking for semicolons, while I used to check syntax with M-! perl -c <filename> now I use M-x cperl-check-syntax
It gives a buffer with a line for each error that links directly to the line of code in question.