Comments (4)
Thanks. I'll try to take a look at this soon. Which perl are you using under windows?
from env-c.
Thanks. I am using 5.20 under windows.
from env-c.
There are actually several issues with t/smoke.t. If you look at a test log like http://www.cpantesters.org/cpan/report/349d306f-6bf5-1014-ac60-f77ec8149ebf, there are 3 failures:
- The first failure is because it cannot unset root. On Windows there is not USER variable so the test file creates like USER=root, but it failed at unsetting it.
- The second failure shows that there are 2 more env variables in %ENV than what's from Env::C.
- The third failure is the case issue mentioned by @zhouzhen1 .
Actually the thing on Windows is a mess because Windows has two sets of APIs get/putenv, Get/SetEnvironmentVariable, and they don't share the same piece of data about env variables. I don't know very deep in this, but I believe the first and the second failure are because of this.
I don't think we have to fix the whole things on Windows unless someone's really needing it, as the library was originally designed for the POSIX get/put/unsetenv APIs, and Windows get/putenv is like a stupid mimic of the POSIX APIs. But at least we can put a CAVEATS section in the pod so people can see the issues on Windows.
from env-c.
@stphnlyd thanks so much for taking the time to look into this.
from env-c.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from env-c.