Skip to content
dannyglue edited this page Dec 23, 2010 · 31 revisions

Documentations of Rose::DBx::Object::Builder and Rose::DBx::Object::Renderer can be found on CPAN:

Tutorial

Textmate Bundle

  1. Download the zipped Bundle: http://db.tt/AxQ9LYm
  2. Unzip and double click to open in Textmate

Here is a list of the snippets triggered by tab: http://db.tt/89u3hv3

Vim Snippets

  1. Install snipMate http://www.vim.org/scripts/script.php?script_id=2540
  2. Download the zipped snippet: http://db.tt/gBPLUpg
  3. In your console/terminal, run unzip ./rdor.snippets.zip -d ~/.vim/snippets/
  4. Append this line au BufRead,BufNewFile *.pl,*.pm set filetype=perl.rdor to your ~/.vimrc file
    (alternatively, create a file called ~/.vim/ftdetect/perl_rdor.vim, and add the line to the file)

Your ~/.vimrc file should look like

:filetype plugin on
:syntax on
au BufRead,BufNewFile *.pl,*.pm set filetype=perl.rdor

When editing a new file or opening a file without .pl or .pm extensions, e.g. .cgi, type :set ft=perl.rdor to manually set the file type.

(Thanks to Gary Ashton-Jones for creating the snippet file and Cees Hek for suggestions on the Vim setup)

Clone this wiki locally