Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <413144A1.3060900@tlinx.org> Date: Sat, 28 Aug 2004 19:51:13 -0700 From: linda w User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: understanding effects of moving addons from site_perl to vendor_perl X-Enigmail-Version: 0.84.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes It's been a few weeks since I've used perl on my Win machine, but noticed an error message about inability to find Win32.pm in my path just for starting up perl. It turned out in my env, I had one of the lib dirs set to /usr/local/lib/perl/5.8 and had it autoloading (not quite sure why at this point) the Win32.pm module with "PERL5OPT=-MWin32". Looking for Win32.pm, I find 3 copies and a 4th name-related copy: /lib/perl5/5.8.5/ExtUtils/MM_Win32.pm /lib/perl5/5.8.5/File/Spec/Win32.pm /lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int/Win32.pm /usr/local/lib/perl/5.8/URI/file/Win32.pm Assuming I wanted to have the same autoload procedure in effect working, what directory should be included? One problem I see on my system seems to be that the perl distro's INC path doesn't seem to include the 5.8.2 version files: Can't locate Win32.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/cygwin-thread -multi-64int /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-m ulti-64int /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl 5/vendor_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/vendor_perl/5.8.5 / usr/lib/perl5/vendor_perl .). BEGIN failed--compilation aborted. Shouldn't the perl library and perl interpreter be at the same version? Is this a mistake or is the library "behind" the interpreter? I didn't choose "experimental" releases, so I would have expected stuff in the main line to work together, is this just happenstance? Thanks, -linda -- In the marketplace of "Real goods", capitalism is limited by safety regulations, consumer protection laws, and product liability. In the computer industry, what protects consumers (other than vendor good will that seems to diminish inversely to their size)? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/