in reply to perl editor on windows
Optiperl was quite nice, I liked the block colouring best but it's non free.
I use Xemacs on windows, it took a while to get used to but it is worth it. Knowing the keyboard commands also means I can now use emacs when in a terminal.
About making syntax errors, I am not really surprised given the number of errors in your question here - the only cure is for you to read what you write and check that it is correct. We may understand posts with SMS speak like "Ur" and a lack of punctuation and capitalization but Perl wont.