http://qs321.pair.com?node_id=257840


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 "filename.pl"

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