What I do for a living

Ovid on 2003-05-13T23:07:16

This screenshot is what I am currently working on. There's some duplicate code that I'm refactoring out (hence the tests open on the right), but I have to say that this looks more impressive as a screenshot than it does in the actual editor. I wonder why that is?


Vim for Perl developers

afresh1 on 2003-05-14T00:36:05

I see that you have a page open in netscape called Vim for Perl developers. Where is that? It sounds like something I'd like to read.

Re:Vim for Perl developers

VSarkiss on 2003-05-14T01:08:11

I believe that's here. I found it through a Meditation on Perlmonks.

Re:Vim for Perl developers

samtregar on 2003-05-14T01:49:11

And in case any other Emacs geeks out there get VI-envy after seeing the neat line-numbering, here's a line-numbering mode for Emacs that does the same thing:

http://groups.google.com/groups?selm=yf4zp5e7ohp.fsf%40pluie.kaist.ac.kr&oe=EUC- KR&output=gplain

-sam

Re:Vim for Perl developers

rafael on 2003-05-14T08:15:40

May I blatanly advertise the fact that vim 6 comes with a perl on-the-fly-reindentation script (that I wrote, it's in $VIMRUNTIME/indent/perl.vim). See :help filetype-indent-on.

Re:Vim for Perl developers

barbie on 2003-05-16T21:04:18

I read that document when I first spotted it on Perl Monks too. A good enlighten read.

I remember playing around with .vimrc for a while when I first discovered some of the extras, before I finally realised I just like my runtime configuration to include 'se ts=4'. Maybe I'm just an old timer now (I started using vi in 1985), which probably also explains why I can't stand emacs ;)

$self-{cgi}

gav on 2003-05-15T21:39:43

I spotted that you do a $self->{cgi}->param call, wouldn't it be easier to have helper functions? The module I'm working on contains a CGI object and I have two helper functions, cgi and param to save typing. You could also make param return '' instead of undef.

Re:$self-{cgi}

Ovid on 2003-05-15T22:04:10

You know what? I feel ridiculously stupid right about now :-/ That's a great idea.