…act like a syntax-directed editor that understands (some of) Perl's syntax. See perlfaq3 . Users of vi should also look into vim and gvim , the mousey and windy version, for coloring of Perl keywords. Note that only perl can truly parse Perl, so all such CASE tools fall somewhat …