From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cf543373ff882e5c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!24.30.200.11!news-east.rr.com!news-feed-01.rdc-kc.rr.com!news.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!tornado.socal.rr.com.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: is there a utility putenv() in fortran or perl? References: <1150931960.005768.78570@g10g2000cwb.googlegroups.com> From: Keith Thompson Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:R0yAvLcw50IBWn37nhpLbuJmbqs= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Jun 2006 23:48:44 GMT NNTP-Posting-Host: 66.75.13.45 X-Complaints-To: abuse@rr.com X-Trace: tornado.socal.rr.com 1150933724 66.75.13.45 (Wed, 21 Jun 2006 16:48:44 PDT) NNTP-Posting-Date: Wed, 21 Jun 2006 16:48:44 PDT Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news2.google.com comp.lang.ada:4891 Date: 2006-06-21T23:48:44+00:00 List-Id: sollebac@gmail.com writes: > I want to set up a new environment variables in LINUX using Fortran or > Perl , example > MYVAR=/some/path/here > in fortran you can read a environment variables using : > call getenv('HOME',myhome) > then my questions is : > is a subroutine or function in FORTRAN or PERL to set up a environment > variables like putenv() in c ? > or how can I do this? Why are you asking this in comp.lang.ada? (If there's a way to do this in Perl, you'll find it in the extensive documentation that accompanies the implementation.) -- Keith Thompson (The_Other_Keith) kst-u@mib.org San Diego Supercomputer Center <*> We must do something. This is something. Therefore, we must do this.