Skip to content

Quote directories with spaces + misc changes

Ed J requested to merge use-words into master

I have a deliberately-awkward Strawberry Perl installation, in a directory with a space in its name. On that, bareword::filehandles fails to build. This is because the depended-on module, B::Hooks::OP::Check, uses EUD. Both the generated -I and -L flags are wrong, because the spaces are not protected. This fixes that by quoting strings with spaces, but only when there are spaces.

I couldn't write a test for this without causing the same chaos I faced when making EUMM work right in a "place with a space" (the test would need to add to @INC a dir-with-space, and skip on certain Win32 situations). The existing tests still all pass, obviously, and without this change my StrawPerl won't build bareword::filehandles, but with it it will.

The misc changes are to bump the version number way up. This is because https://metacpan.org/pod/ExtUtils::Depends shows an unauthorised release from 2012 instead of the correct one.

Merge request reports