From: John Dlugosz Problem 1, a true bug: The temp directory name is fetched containing a backslash character. This gets interpolated into a temp script, and generates the incorrect name when the script is then processed. The fix: Add this line to _getSharedObjects my $tempdir= File::Spec->tmpdir; $tempdir =~ tr[\\][/]; # backslash not handled right. This line added Problem 2, arguably a defect Filenames with spaces in them fail miserably. The name in ^X and the filename are simple enough to add quotes around, but the @INC value needs more processing. The former is easy to fix, the latter I've not poked into yet.