Re: [perl #130776] Environment variables are case insensitive on Windows

2017-03-02 Thread A. Sinan Unur
I have done some research on this issue. The "correct" behavior seems to be to match what Windows would do in cmd.exe. That would provide the users with the least surprise. Michael Kaplan's guidance[1] on file names seems to also describe how Windows handles names of environment va

Re: [perl #130776] Environment variables are case insensitive on Windows

2017-02-14 Thread A. Sinan Unur
I am not sure what the right strategy is ... Perl 5 seems to work mainly because they use the ANSI interfaces to get environment variables ... which means you can't get the value of $ENV{iş}. I opened this issue because I am going to think about it and thought there should be somethi

[perl #130776] Environment variables are case insensitive on Windows

2017-02-14 Thread Zoffix Znet via RT
On Mon, 13 Feb 2017 14:38:03 -0800, na...@cpan.org wrote: > $ echo %windir% > C:\WINDOWS > > $ echo %WINDIR% > C:\WINDOWS > > $ c:\opt\perl6-mingw\bin\perl6 -e "say %*ENV" > (Any) > > $ c:\opt\perl6-mingw\bin\perl6 -e "say %*ENV" > C:\WINDOWS > > $ c:\opt\perl6-mingw\bin\perl6 -v > This is Raku

[perl #130776] Environment variables are case insensitive on Windows

2017-02-14 Thread Zoffix Znet via RT
On Mon, 13 Feb 2017 14:38:03 -0800, na...@cpan.org wrote: > $ echo %windir% > C:\WINDOWS > > $ echo %WINDIR% > C:\WINDOWS > > $ c:\opt\perl6-mingw\bin\perl6 -e "say %*ENV" > (Any) > > $ c:\opt\perl6-mingw\bin\perl6 -e "say %*ENV" > C:\WINDOWS > > $ c:\opt\perl6-mingw\bin\perl6 -v > This is Raku

[perl #130776] Environment variables are case insensitive on Windows

2017-02-13 Thread via RT
# New Ticket Created by A. Sinan Unur # Please include the string: [perl #130776] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130776 > $ echo %windir% C:\WINDOWS $ echo %WINDIR% C:\WINDOWS $ c:\opt\perl6-mingw\bin\perl6 -

Re: [perl #43235] [PATCH][Win32] Fix Environment Variables Handling

2007-06-17 Thread chromatic
On Sunday 17 June 2007 11:21:22 Ron Blaschke wrote: > Attached patch should take care of tickets #37301 and #40972. Thanks, applied as r19068. -- c

[perl #43235] [PATCH][Win32] Fix Environment Variables Handling

2007-06-17 Thread via RT
# New Ticket Created by Ron Blaschke # Please include the string: [perl #43235] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43235 > Attached patch should take care of tickets #37301 and #40972. Windows XP - Visual C++ 8

Re: S02 - s/environmental variables/environment variables/g please

2006-04-29 Thread Randal L. Schwartz
d which can be seen by callers. If they both have "env"-ish stuff in the name, let's use the same name for both. If they are far enough apart that they should be distinct, call them something different. But to have %*ENV be called "environment variables" while "env

Re: S02 - s/environmental variables/environment variables/g please

2006-04-29 Thread james
On Sat, Apr 29, 2006 at 07:50:02AM -0700, Randal L. Schwartz wrote: > Please, let us agree to use the traditional name of "environment variables" in > the docs, and not re-introduce its bastardized cousin, which hurts my ears. > Thanks. I think they are different things. An &q

S02 - s/environmental variables/environment variables/g please

2006-04-29 Thread Randal L. Schwartz
Please, let us agree to use the traditional name of "environment variables" in the docs, and not re-introduce its bastardized cousin, which hurts my ears. Thanks. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/&

Makefile environment variables for testing

2005-03-17 Thread Nathan Gray
hat way, it would be very easy to turn on/off logging to a file for all tests at once. Is there a way to specify environment variables that should be set during the 'make test'? -kolibrie

Re: Environment variables

2005-02-22 Thread Autrijus Tang
On Tue, Feb 22, 2005 at 04:17:53PM +0100, Rafael Garcia-Suarez wrote: > Here's a patch to add this. It's heavily cargo-culted, I need to read > some docs about haskell some day. As I wasn't able to get FiniteMaps to > work I implemented my own kludgy function to flatten pairs for the hash. > Also I

Re: Environment variables

2005-02-22 Thread Rafael Garcia-Suarez
Autrijus Tang wrote: > jn Tue, Feb 22, 2005 at 10:54:26AM -, Rafael Garcia-Suarez wrote: > > I had this silly idea, to try to add %ENV to pugs. That would be an > > interesting exercise. So I can write CGI scripts. Maybe. But I don't > > know what's the Right way to do it in Perl 6. Any hints ?

Re: Environment variables

2005-02-22 Thread Autrijus Tang
On Tue, Feb 22, 2005 at 06:51:24AM -0600, Patrick R. Michaud wrote: > This might initially work for read-only access/testing, but in > the long run I suspect that %*ENV will be tied directly to the > C putenv/getenv calls or their Parrot/other equivalents. > Assigning to %*ENV should change the e

Re: Environment variables

2005-02-22 Thread Patrick R. Michaud
On Tue, Feb 22, 2005 at 08:35:49PM +0800, Autrijus Tang wrote: > jn Tue, Feb 22, 2005 at 10:54:26AM -, Rafael Garcia-Suarez wrote: > > I had this silly idea, to try to add %ENV to pugs. That would be an > > interesting exercise. So I can write CGI scripts. Maybe. But I don't > > know what's the

Re: Environment variables

2005-02-22 Thread Autrijus Tang
jn Tue, Feb 22, 2005 at 10:54:26AM -, Rafael Garcia-Suarez wrote: > I had this silly idea, to try to add %ENV to pugs. That would be an > interesting exercise. So I can write CGI scripts. Maybe. But I don't > know what's the Right way to do it in Perl 6. Any hints ? In Perl6 I think you do it

Environment variables

2005-02-22 Thread Rafael Garcia-Suarez
I had this silly idea, to try to add %ENV to pugs. That would be an interesting exercise. So I can write CGI scripts. Maybe. But I don't know what's the Right way to do it in Perl 6. Any hints ? -- #!/usr/bin/pugs say "Just another Pugs hacker";

Re: Using environment variables to control long running tests (again)

2003-11-19 Thread Michael G Schwern
On Wed, Nov 19, 2003 at 07:17:46AM -0800, Randal L. Schwartz wrote: > Michael> For that reason I'd agree with Curtis and say that > Michael> everything is always run by default and users can then elect > Michael> what to turn off. PERL_SKIP_LONG_TESTS seems like a clear > Michael> name. > > As

Re: Using environment variables to control long running tests (again)

2003-11-19 Thread Randal L. Schwartz
> "Michael" == Michael G Schwern <[EMAIL PROTECTED]> writes: Michael> Disabling tests for subjective reasons (they take "too long", Michael> they don't test critical functionality, etc...) is a slippery Michael> slope. But there are clearly tests that are "tip of the iceberg" as a safety chec

Re: Using environment variables to control long running tests (again)

2003-11-19 Thread Fergal Daly
On Wed, Nov 19, 2003 at 01:45:31PM +1100, Andrew Savige wrote: > I think the two environment variables can happily coexist as > shown in the table below: > > PERL_SMOKE PERL_SKIP_LONG_TESTS > Naive User0 0 > Contrary

Re: Using environment variables to control long running tests (again)

2003-11-18 Thread Danny Faught
Michael G Schwern wrote: Disabling tests for subjective reasons (they take "too long", they don't test critical functionality, etc...) is a slippery slope. I've seen this approach used successfully in a commercial setting. The key is to make sure that the long tests do get run by someone. If u

Re: Using environment variables to control long running tests (again)

2003-11-18 Thread Andrew Savige
N author how he wants to treat the naive user (i.e. the user who installs his module without explicitly setting any environment variable). That is, the CPAN author can choose whether he wants to use PERL_SMOKE or PERL_SKIP_LONG_TESTS (based on his good taste and sound judgement, after all it is his m

Re: Using environment variables to control long running tests (again)

2003-11-18 Thread Michael G Schwern
On Wed, Nov 19, 2003 at 09:30:19AM +1100, Andrew Savige wrote: > > Also, I would recommend something like PERL_SKIP_LONG_TESTS. By > > default, all tests should be run to prevent the user accidentally > > forget to run some tests. > > If some tests take hours to run, running them by default will

Re: Using environment variables to control long running tests (again)

2003-11-18 Thread Andrew Savige
Ovid wrote: > --- Kate L Pugh wrote: > > This was discussed on this list back in June. I'm wanting to > > implement it now and am wondering if Andrew's suggestion (below) has > > been taken up by anyone. Is PERL_TEST_LONG what people here > > generally > > expect to be the right environment varia

Re: Using environment variables to control long running tests (again)

2003-11-18 Thread Ovid
--- Kate L Pugh <[EMAIL PROTECTED]> wrote: > This was discussed on this list back in June. I'm wanting to > implement it now and am wondering if Andrew's suggestion (below) has > been taken up by anyone. Is PERL_TEST_LONG what people here > generally > expect to be the right environment variable

Using environment variables to control long running tests (again)

2003-11-18 Thread Kate L Pugh
This was discussed on this list back in June. I'm wanting to implement it now and am wondering if Andrew's suggestion (below) has been taken up by anyone. Is PERL_TEST_LONG what people here generally expect to be the right environment variable to set to enable long-running tests? (I know I could

Re: How to get environment variables?

2003-11-03 Thread Andrew Shitov
I tried this one-line programme for example: my %e = %ENV; and got this (parrot-0.0.13/perl are built under mandrake linux): Global '_HV_ENV' not found Error: '/parrot-0.0.13/parrot -r env.imc ' failed with exit code 1 Stopped at /parrot-0.0.13/languages/perl6/perl6 line 339 main::mydie(256,'/p

Re: How to get environment variables?

2003-11-03 Thread Simon Cozens
[EMAIL PROTECTED] (Andrew Shitov) writes: > Is it possible to get environment variables from perl6 programme? It > failes when I try to use perl5 hash %ENV. Thanks. Are you sure you're using the Perl 6 hash syntax? (%ENV{FOO} rather than Perl 5-style $ENV{FOO}) What version of Per

How to get environment variables?

2003-11-03 Thread Andrew Shitov
Is it possible to get environment variables from perl6 programme? It failes when I try to use perl5 hash %ENV. Thanks.

Re: Using environment variables to control long running tests

2003-06-05 Thread Andrew Savige
Randal L. Schwartz wrote: > All I'm asking for in my quest is to keep the "install health check" > tests down to a minute or two. Remember that CPAN.pm insists that > "make test" works before I can install. I agree. Modules should commonly have long-running exhaustive tests and/or stress tests. T

Re: Using environment variables to control long running tests

2003-06-05 Thread Randal L. Schwartz
> "Adrian" == Adrian Howard <[EMAIL PROTECTED]> writes: Adrian> I don't see it as a real problem. If I've written a test I want it Adrian> run. Otherwise I wouldn't have written it. Not running tests is pretty Adrian> much the ultimate sin as far as I am concerned - but I'm odd that way Adrian

Re: Using environment variables to control long running tests

2003-06-04 Thread Andrew Savige
Randal L. Schwartz wrote: > No, it doesn't need a standard name. The default should be the > "install tests" without any special envar. The developer can select > their own set of envars to control various *longer* tests. While a standard name is not required, having one would allow automated CP

Re: Using environment variables to control long running tests

2003-06-04 Thread Randal L. Schwartz
> "Andrew" == Andrew Savige <[EMAIL PROTECTED]> writes: Andrew> Randal L. Schwartz wrote: >> All I'm asking for in my quest is to keep the "install health check" >> tests down to a minute or two. Remember that CPAN.pm insists that >> "make test" works before I can install. Andrew> I agree. M

Re: Using environment variables to control long running tests

2003-06-01 Thread Adrian Howard
On Sunday, June 1, 2003, at 08:43 am, Andrew Savige wrote: Merlyn's use perl journal of April 29, 2003: http://use.perl.org/~merlyn/journal/ suggests using environment variables to spare the installer of CPAN modules a long wait while running 'make test'. One reply noted that D

Using environment variables to control long running tests

2003-06-01 Thread Andrew Savige
Merlyn's use perl journal of April 29, 2003: http://use.perl.org/~merlyn/journal/ suggests using environment variables to spare the installer of CPAN modules a long wait while running 'make test'. One reply noted that DBD, HTML::Mason and other modules already do this. Is there a