I have a Perl script, work ok with ActiveState Perl but I am trying to run it with perl.exe bundled with msys git (from Windows command prompt)
I get the following error:
Can't locate Win32/Process.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at C:\project\tests\fsharpqa\testenv\bin\runall.pl line 3859.
git Perl is:
C:\Program Files (x86)\Git\bin>perl --version
This is perl, v5.8.8 built for msys
Activestate per is:
This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x64-multi-thread
I've tried:
- Download Win32-Process module from cpan
- Unzip in a directory
d:\temp\perllib
Process.pm
exists ind:\temp\perllib\Win32
- Add directory
/d/temp/perllib
toPERL5LIB
env var
But no luck, I get:
C:\Program Files (x86)\Git\bin>.\perl.exe -e 'use Win32::Process;'
Can't locate loadable object for module Win32::Process in @INC (@INC contains: /d/temp/perllib /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at -e line 1
With wrong directory in PERL5LIB
I get instead:
C:\Program Files (x86)\Git\bin>.\perl.exe -e 'use Win32::Process;'
Can't locate Win32/Process.pm in @INC (@INC contains: /d/temp/perllib2 /usr/lib/perl5/5.8.8/msys /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/msys /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at -e line 1.