My editor of choice is also Vim, so I shall investigate perl-support.vim.
I wanted this because I kept writing little scripts to test Perl and CPAN dist features with the two lines at the top of this script. I thought automating this in Vim would mean hacking Vimscript, and I just thought "hang on, automating text files - why not use Perl?". I should have known that indomitable Vim would include templating support or have a plugin for it.
This script does exactly what I need for writing little scripts though, so I shall probably continue to use it - probably alongside perl-support.vim if it meets my needs.
After all, sometimes I do use ed instead of Vim :D
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.