In Komodo Edit, the tool interactively informs you of syntax errors, many of them are just a typo. For example, let's say that I have typed (in PERL):
use strict;
my ($name);
$name1="Schuller";
In this case, there should be a red underline under $name1, as we have used strict, and $name1 was undefined. Thanks!