This, or rather, the second section of it will explain better than I'm going to be able to (that demo is for HTML, but you should get the idea).
Hope that helps.
In reply to Re^2: Perl omnicompletion available for Vim 7
by john_oshea
in thread Perl omnicompletion available for Vim 7
by john_oshea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |