Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: ftl [...] dnv.com
Cc:
AdminCc:

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



Subject: Setting unexpected(?) environment variables
Thanks a lot for making Strawberry! We are working on using straw 5.16 as new std platform, and it works great, except... Installing strawberry-perl-5.16.0.1-64bit.msi sets the two environment variables PERL_JSON_BACKEND=JSON::XS PERL_YAML_BACKEND=YAML These are normally good, but with other (older) perl versions on the production server as well, this created some unexpected features after next reboot (when iis updated its envoronment). This 'feature' was also available in beta3. I presume these env-variables should be optional or more explicitely described as part of readme, as they may generate unexpected side- effects in mixed environments. Again, thanks a lot for a great package! Frode
Subject: Re: [rt.cpan.org #77421] Setting unexpected(?) environment variables
Date: Fri, 25 May 2012 13:24:21 +0200
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Show quoted text
> Installing strawberry-perl-5.16.0.1-64bit.msi sets the two environment > variables > > PERL_JSON_BACKEND=JSON::XS > PERL_YAML_BACKEND=YAML > > These are normally good, but with other (older) perl versions on the > production server as well, this created some unexpected features after > next reboot (when iis updated its envoronment).
Well, I have to track down what was the reason for setting them in the past. Maybe the reason is no more valid and we can leave out both variables in the next release. It would help if you can test whether strawberry perl will work as expected after unsetting both variables (IIRC the trouble was with CPAN client) Thanks for your report. -- kmx
Subject: RE: [rt.cpan.org #77421] Setting unexpected(?) environment variables
Date: Thu, 31 May 2012 22:09:59 +0200
To: <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: <Frode.Thue.Lie [...] dnvkema.com>
Hi, Tested a little without these env vars, and seems to work fine, but I presume there are some old odd cases where pp does not work as expected. So should really like to know where this aroused from. (so yes, works fine on my machine, which does not prove it works in the general sense. (I'll try to look more into the tests to see if I find anything to look for,) Frode Show quoted text
-----Original Message----- From: kmx via RT [mailto:bug-Perl-Dist-Strawberry@rt.cpan.org] Sent: 25. mai 2012 13:25 To: Lie, Frode T. Subject: Re: [rt.cpan.org #77421] Setting unexpected(?) environment variables <URL: https://rt.cpan.org/Ticket/Display.html?id=77421 >
> Installing strawberry-perl-5.16.0.1-64bit.msi sets the two environment > variables > > PERL_JSON_BACKEND=JSON::XS > PERL_YAML_BACKEND=YAML > > These are normally good, but with other (older) perl versions on the > production server as well, this created some unexpected features after > next reboot (when iis updated its envoronment).
Well, I have to track down what was the reason for setting them in the past. Maybe the reason is no more valid and we can leave out both variables in the next release. It would help if you can test whether strawberry perl will work as expected after unsetting both variables (IIRC the trouble was with CPAN client) Thanks for your report. -- kmx
I think it was related to https://rt.cpan.org/Ticket/Display.html?id=54729

BTW: I have removed both variables also on my Windows box and have not experienced any troubles up to now.

--
kmx

I have just released strawberry perl 5.16.1.1 with fix for this RT