Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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


Comment on Re: Re: Vim for Perl developers
Download Code
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://257840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-07-28 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls