cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is Repository broken? (actually ActivePerl 5.6.1)


From: Gary Oberbrunner
Subject: Re: Is Repository broken? (actually ActivePerl 5.6.1)
Date: Mon, 28 Jan 2002 10:07:24 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.6) Gecko/20011120

Johan Holmberg wrote:


You can't expect things to work unless you understand the quoting
issues of all involved programs.

The simplest way to achieve this, I think is to avoid "cmd.exe"
(ie. BAT-files) altogether.

Slightly off topic: I just moved to ActiveState perl 5.6.1, and it behaves somewhat differently from previous versions with respect to perl's system() command. Specifically, if you have redirection (and maybe quoting, not sure) in the command, perl invokes cmd.exe using your $ENV->{PATH} to find it. So you now need /windows/system32 in the path, where you didn't before. The error message is very obscure.

(I think if you set PERL5SHELL it uses that instead of cmd.exe, but I haven't tried that.)

The reason this is relevant is because you may be using cmd.exe even when you don't think you are.

-- Gary Oberbrunner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]