Matisse Enzer wrote:
> I respectfully suggest that maybe there is another way of looking at it,
> where the install process (governed by Makefile.PL/Build.PL) could
> possibly be a "test driven installation" process:
> 
>    use Test::More tests => 23;
>    unlike( $^X,qr{\s}, q{'$^X' has no spaces in the path} ) ||
>        BAIL_OUT(q{Cannot install.});

YOW!  Let's all HARD CODE assumptions about KNOWN BUGS [1] in MakeMaker in a
THOUSAND DIFFERENT PLACES so that when they get FIXED it will take YEARS
before we get rid of them all!  In GRENADA!

Paths can have spaces in them, always have.  It's not even a Windows-only bug.
 Deal with it.

The "I installed to a directory with a space in the path" is an example of
CPAN Testers working as expected.  It found and highlighted an annoying bug
that the rest of us either ignore or work around.  Users innocently try to
install Perl into a path with a space and then everything breaks.  How 1994.
It's lamentable that this results in your getting a few emails, but the
solution is not to hack around it in 2000 places but to fix it at the source!

The source being, of course, MakeMaker.  So that being said, myself or one of
all you who have commit access in my repo, should fix this.


[1] http://rt.cpan.org/Ticket/Display.html?id=15411
    http://rt.cpan.org/Ticket/Display.html?id=12713
    http://rt.cpan.org/Ticket/Display.html?id=28991

-- 
Don't try the paranormal until you know what's normal.
    -- "Lords and Ladies" by Terry Prachett

Reply via email to