On a specific system, I run a perl script and it fails saying
Can't locate List/Util.pm in @INC (@INC contains: <Some-Path>/ActiveState/perl/lib <Some-Path>/ActiveState/perl/site/lib .) at <Some-Other-Path>\searchCobolPgms.ps line 7.
Now the weird part is that before deploying the code to the faulty system, I ran it on my laptop and it just worked fine. The difference in both systems is that on my laptop I use Cygwin, and it includes the perl package, and the indicated failed ActiveState perl system.
<Some-Path>perl -v This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 635 provided by ActiveState Corp. http:
Then I searched Util under cygwin lib and was present in i686-cygwin
c:\cygwin\lib\perl5\5.10>find . -name Util.pm ./CGI/Util.pm ./i686-cygwin/Hash/Util.pm ./i686-cygwin/List/Util.pm ./i686-cygwin/Scalar/Util.pm
So now I'm embarrassed. Isn; t List :: Util part of the standard perl distribution? Reason for my confusion
- List /Util.pm present in i686-cygwin
- ActiveSync installation did not have List / Util.pm
source share