Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use Perl in vim with only the Perl dll on my system?

Tags:

vim

perl

I would like to use Perl from within vim (via perldo).

I use vim 7.3 on Windows, compiled with +perl/dyn and -DDYNAMIC_PERL_DLL="perl512.dll".

I don't have Perl installed on my system, however I do have perl512.dll in my vim runtimepath, but this doesn't seem to work, has('perl') echoes 0. I also tried placing the dll on the system path with the same result.

Is the dll sufficient to get it to work or do I need to have a full install of Perl?

like image 804
frank Avatar asked Nov 14 '22 02:11

frank


1 Answers

perl512.dll is depend on libgcc_s_sjlj-1.dll. Then if you want to enable perl without perl.exe, you should copy libgcc_s_sjlj-1.dll also. I could get has("perl") == 1 without perl.exe. But I don't comment the way. :)

like image 185
mattn Avatar answered Jan 30 '23 09:01

mattn