Mail Archives: cygwin/1996/12/13/08:07:04
At 02:43 PM 12/9/96 +0000, you wrote:
>I have written a perl script for the win32 version of perl that
>converts envinronment variables over to unix type variables for bash,
>then resets the variables after leaving bash. I should have posted
>this a while ago, but richardd AT cix DOT compulink DOT co DOT uk got my butt moving
>with his post. I call it "shell.bat" and here is how it goes:
>
[long script snipped]
Just to let you know, Perl has a predefined associative array with all the
environment variables already in it. For example, you could use
$ENV{"COMSPEC"} to retrieve the value of your COMSPEC environment variable.
--
Beverly Brown beverly AT datacube DOT com
Datacube Inc. http://www.datacube.com
300 Rosewood Drive Phone:(508)777-4200 x3092
Danvers, MA 01923-4505 Fax: (508)750-0938
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -