in reply to Re^2: Perl to exe problem using PDK
in thread Perl to exe problem using PDK
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
on the Windows command line. On my system, this yieldsperl -lwe "print @INC"
(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....c:/perl/site/libc:/perl/lib.
|
|---|