Subject: | ExtUtils::Manifest doesn't understand filenames with spaces |
I'm trying to keep track of a set of web pages that are supposed to be distributed as a OpenInteract2 package.
OpenInteract2 uses ExtUtils::Manifest to check if all or too many files are present.
The problem arises when I add files that contain spaces in them, at which ExtUtils::Manifest gets thorougly confused - expecting that all text after the first space on a line should be interpreted as a comment.
This kind of sucks on filesystems where spaces are legal in filenames. :-\
Would it be sensible to allow escaping of filenames? e.g. allowing a MANIFEST (or MANIFEST.SKIP) file like this:
===============================8<---------------------------------------
Build.PL
MANIFEST
MANIFEST.SKIP
t/00_use.t
data/A\ file\ with\ spaces.txt spaces in filename
data/A\ dir\ with\ spaces/fnord.txt spaces in dirname
data/A\ file\ with\ spaces\ and\ a\ \\.txt spaces and \ in filename
data/A\ dir\ with\ spaces\ and\ a\ \\/fnord.txt spaces and \ in dirname
------------------------>8===============================================
In general, unix filesystems allow filenames containing any character except / and \0 .... I'm not sure what the filename rules are on other systems, but it would be great if ExtUtils::Manifest didn't break at least when it bumps into commonly used legal filename conventions.
I've tested this with ExtUtils::Manifest version 1.46 (part of ExtUtils-MakeMaker-6.27)