Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
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 examining the Monastery: (9)
As of 2014-08-23 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls