During my tutorials I found myself creating handfuls of scripts, all of which starting with the warning and strict pragmas. Following Damian Conway's example, I set up a Vim abbreviation:
:iab uw; use warnings;<CR>use strict;<CR>
I would really like it to only expand if I hit Enter after the abbreviation. I tried appending a \r, \n and , but no luck.
Also, Marty pointed out that I should be using DBD::SQLite2 instead of DBD::SQLite because of backward-incompatabilities in the newer SQLite libraries. That clears things up!
uw; (Score:1)
It's not as pretty, because if you type "uw; foo" you won't see the uw; displayed until the space. Still, it works.
rjbs
preview, preview, preview (Score:1)
rjbs
Re:preview, preview, preview (Score:1)
qw(Ian Langworth)