Subject: | PPM.pm:InstallPackage() bug triggered if $ENV{HOME} valid |
Strawberry perl portable 5.10 (release compiled at Feb 23 2009)
PPM.pm's InstallPackage() downloads and unpacks a package, and then
looks like it tries to chdir(undef) and falls back to chdir($ENV
{HOME}). If $ENV{HOME} is set, the rest of the install fails; if not,
the chdir fails and installation proceeds as normal. See http://
www.perlfoundation.org/perl5/index.cgi?ppm , under 'Gotchas'.
Reproduce: in cmd.exe, set HOME=<some valid value>, then cd to
<strawberry-perl-portable-top>\perl\bin, and run .\ppm.bat install
<package>
Workaround: set HOME= before running ppm.bat.