Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Re: Vim for Perl developers

by TVSET (Chaplain)
on May 13, 2003 at 17:37 UTC ( #257840=note: print w/replies, xml ) Need Help??

in reply to Re: Vim for Perl developers
in thread Vim for Perl developers

That's great work.

Thanks :)

What I would like to do is access the Perl interpreter from within vim. With ruby, one can use the rubyfile command. From vim's command mode, you could type :rubyfile example.rb to execute a ruby script. But how would you do this with Perl?

I've got rather limited experience in this area, but maybe :help perldo will help you. I guess you'll need to have Vim compiled with perl support.

Leonid Mamtchenkov aka TVSET

Replies are listed 'Best First'.
Re: Re: Re: Vim for Perl developers
by jacques (Priest) on May 13, 2003 at 17:55 UTC
    Thanks, but perldo is a range command, so that won't work.
      :perl do ""

      :perl lets you do arbitrary expressions.
        That did the trick. Thanks.