Thread View: pl.comp.lang.perl
2 messages
2 total messages
Started by A Farrow
Wed, 05 Nov 1997 10:19
HELP : Setting an Environment Variable/ERRORLEVEL in PERL for NT
Author: A Farrow
Date: Wed, 05 Nov 1997 10:19
Date: Wed, 05 Nov 1997 10:19
12 lines
1145 bytes
1145 bytes
Dear All,
Does anybody know how I can set a WINNT Environment Variable
from within PERL 5 for NT? I can get the listing using $ENV
but I do not appear to be able to change it.
Alternatively, does anybody know how to raise an ERRORLEVEL
that can be tested from a batch file.
Regards,
Anthony Farrow
a.n.farrow@cranfield.ac.uk
Re: HELP : Setting an Environment Variable/ERRORLEVEL in PERL for NT
Author: I R A Aggie
Date: Wed, 05 Nov 1997 14:07
Date: Wed, 05 Nov 1997 14:07
19 lines
1587 bytes
1587 bytes
In article <346039d2.0@news.cranfield.ac.uk>, "A Farrow" <a.n.farrow@cranfield.ac.uk> wrote: + Dear All, + Does anybody know how I can set a WINNT Environment Variable + from within PERL 5 for NT? I can get the listing using $ENV + but I do not appear to be able to change it. If this is like the unix version of %ENV, then you can only change it for the _current_ process and any _child_ processes. It does not permanently modify the %ENV. James -- Consulting Minister for Consultants, DNRC Support the anti-Spam amendment <url:http://www.cauce.org/> To cure your perl CGI problems, please look at: <url:http://www.perl.com/perl/faq/idiots-guide.html>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads