Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 83721
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

Owner: Nobody in particular
Requestors: perlmail [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

From [...] Fri Mar 1 16: 33:26 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.12 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
X-Provags-ID: V02:K0:ApA+GI7eob+aHFYf+fD972rAiXVQBVI4zDZL40meGrJ eQzLQWtN1oLNZS0o8ffR3YBYOPtvAvq5o/ElvIksjXmijNbbgr +h2d4q7ACbzoBnYEbhBXpUR/iQFAJ3NP9w7tX6XIW9TgUFaaCK rVl9lpl/oMOBlMsH6SWFDtZt4He8b9kLeOIHU3wBf1UXnrsBdJ tkRojgZA4BpvXbMhWlf7WfVdHKJns9nbxrp7veX96s6C11Z/Ky grsVr26wH3elVU0Q/gP207S3RZIKsUXTgNg0kOkA2YNvmJG/2u blwh1fh96dlhOcde/+X+9op5XiM0wyNNkUcf2HaGliOvsz47zq YVq+5ik5Hwl1A6P7UZD2lqFEKCdp7MWbLWeDn3ze9
Content-Type: multipart/alternative; boundary="------------010808060405040705050909"
Message-ID: <51311E9B.5030002 [...]>
X-Virus-Scanned: Debian amavisd-new at
X-Spam-Score: -6.12
Received: from localhost (localhost []) by (Postfix) with ESMTP id 8796F2406FD for <cpan-bug+Perl-Dist-Strawberry [...]>; Fri, 1 Mar 2013 16:33:26 -0500 (EST)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id KPk+DNE18zb1 for <cpan-bug+Perl-Dist-Strawberry [...]>; Fri, 1 Mar 2013 16:33:25 -0500 (EST)
Received: from ( []) by (Postfix) with SMTP id AAFCC2403E7 for <bug-Perl-Dist-Strawberry [...]>; Fri, 1 Mar 2013 16:33:24 -0500 (EST)
Received: (qmail 28780 invoked by uid 103); 1 Mar 2013 21:33:23 -0000
Received: from ( by with QMQP; 1 Mar 2013 21:33:23 -0000
Received: from (HELO ( by (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Fri, 01 Mar 2013 13:33:20 -0800
Received: from [] ( []) by (node=mrbap2) with ESMTP (Nemesis) id 0Mg0zl-1UPc532ouD-00N6kj; Fri, 01 Mar 2013 22:33:16 +0100
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...]
Subject: Mangling PATH environment variable containing quotes.
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
Return-Path: < [...]>
X-RT-Mail-Extension: perl-dist-strawberry
X-Original-To: cpan-bug+Perl-Dist-Strawberry [...]
Date: Fri, 01 Mar 2013 21:33:15 +0000
To: bug-Perl-Dist-Strawberry [...]
From: Hayden Clark <perlmail [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 811
Download (untitled) / with headers
text/plain 811b
Version: This is perl 5, version 16, subversion 2 (v5.16.2) built for MSWin32-x86-multi-thread Steps to reproduce: SET PATH=foo"bar";baz <strawberry-root>\perl\bin\perl.exe -e "print $ENV{PATH},\"\n\";" Expected result: foo"bar";baz Actual result: foo"bar;baz SET PATH=foo;"bar"baz; <strawberry-root>\perl\bin\perl.exe -e "print $ENV{PATH},\"\n\";" Expected: foo;"bar"baz; Actual: foo;bar"baz; (note that echo %PATH% displays foo;"bar"baz; as expected) Symptoms: This causes odd behaviour if the system PATH contains elements with spaces, enclosed in quotes. Things really go casters-up-mode if the C:\WINDOWS\system32 entry is /after/ the quoted element. This causes Strawberry Perl to throw out odd errors as it can't execute standard system utilities (e.g., in, qx(chcp) at line 44).
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 1239
MIME-Version: 1.0
In-Reply-To: <51311E9B.5030002 [...]>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <51311E9B.5030002 [...]>
Content-Type: text/html; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-24827-1362936822-1468.83721-0-0 [...]>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 204
Unfortunately this seems to be a bug in perl core not a specific issue with strawberry perl.

You should better report this issue via perbug to p5p team.


This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to