in reply to Re: Perl to exe problem using PDK
in thread Perl to exe problem using PDK

That module is CORE, it should already be in @INC

Replies are listed 'Best First'.
Re^3: Perl to exe problem using PDK
by rovf (Priest) on Jun 19, 2009 at 08:25 UTC

    Good point. But this means that either @INC was explicitly changed in some BEGIN section, or the Perl installation itself was broken, because even without setting any PERL5LIB variable, @INC should at least contain the path to the core libraries.

    To check the installation, one could do a

    perl -lwe "print @INC"
    on the Windows command line. On my system, this yields
    c:/perl/site/libc:/perl/lib.
    (and, no, I have no idea where the dot after lib comes from, but on Windows, LIB and LIB. are presumably the same anyway). If @INC is empty here too, the installation is broken (but then Perl should find *no* Core modules at all). So, more likely, there must be some BEGIN section which resets @INC....

    -- 
    Ronald Fischer <ynnor@mm.st>