http://www.perlmonks.org?node_id=257797


in reply to Vim for Perl developers

That's great work. But I am wondering if you could help answer a vim question I have. How would I specify a Perl script to execute with the interpreter? I am not talking about doing:   <ESC>:! perl script.pl

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?