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 ( [id://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 "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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://257840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-20 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found