fix cperl mode, remove vendor snippets