XP is just a number | |
PerlMonks |
Re^4: @INC not reflecting correctlyby syphilis (Archbishop) |
on Aug 27, 2021 at 09:30 UTC ( [id://11136119]=note: print w/replies, xml ) | Need Help?? |
I'm pretty sure this is something that the Strawberry Perl Portable editions work around As regards @INC on Windows, there's no need to work around anything as wrt the setting of @INC. For example, I have a build of perl-5.30.0 in the location C:/_64/perl530_810. It reports @INC as being: I copy that perl to a new location of C:/_64/C/perl530_810. Without any need for me to take any additional action at all, this new perl installation correctly reports @INC as being: This is something that happens automatically on Windows. (I think it just looks at the location of the perl executable and derives @INC accordingly.) However, Linux (amazingly) apparently does not provide such a convenience. It's not quite so simple for portable Strawberry Perl wrt the correct treatment of %Config settings. I think they're probably just rewriting Config.pm and Config_heavy.pl at time of installation. (Again, this is a convenience that is unavailable to Linux.) Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|