RE: 0.2808_04 will not install in Strawberry Perl 5.10.0.2...

[email protected] ("Jan Dubois")
Newsgroups perl.module.build
Message-ID <044d01c917ae$cfd215d0$6f764170$@com>
On Mon, 15 Sep 2008, Ken Williams wrote:
> On Mon, Sep 15, 2008 at 1:13 PM, Curtis Jewell
> <[email protected]> wrote:
> >  DB<7> p $cmd
> > 'C:\strawberry\perl\bin\perl.exe' -MConfig=myconfig -e print -e myconfig
> >
> > (At this point, the first parameter needs to be double-quoted, not
> > single quoted, and that's when we hit this error.)
> 
> I think the correct fix for this would be to write a _quote_args()
> method in Module/Build/Platform/Windows.pm .  It's trying to use Unix
> shell semantics.  In this case, it shouldn't need to use any quotes at
> all, since backslashes are fine in the Windows shell.

I suspect the quoting is there in case the path contains some whitespace,
e.g. as "C:\Program Files\Perl\bin\perl.exe", which would need the quotes.

Cheers,
-Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.