From owner-freebsd-questions Sun Apr 12 12:55:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA23247 for freebsd-questions-outgoing; Sun, 12 Apr 1998 12:55:35 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mole.slip.net (mole.slip.net [207.171.193.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA23236 for ; Sun, 12 Apr 1998 12:55:30 -0700 (PDT) (envelope-from leonardc9@usa.net) Received: from sf-pm12-15-47.dialup.slip.net ([207.171.197.47] helo=workhorse.leonard.com) by mole.slip.net with smtp (Exim 1.90 #1) for questions@freebsd.org id 0yOSqP-0007WR-00; Sun, 12 Apr 1998 12:55:14 -0700 Message-Id: <3.0.5.32.19980412125035.007b7e30@pop.slip.net> X-Sender: leonard@pop.slip.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Sun, 12 Apr 1998 12:50:35 -0700 To: questions@FreeBSD.ORG From: Leonard Subject: Setting shell environment vars in perl Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm new to perl and was wondering if anybody could give me some pointers on how to set a shell environmental variable, specifically HOME, using perl. I've tried: $ENV{'HOME'} = /foo but it doesn't seem to work, leading me to suspect that perhaps $ENV is read-only. If anybody could point me in the right direction, I'd really appreciate it. Thanks, Leonard -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.5.3 for non-commercial use iQA/AwUBNTEbCeAvLUJUxjQXEQLQfwCffKJfi3qjboLUQgHxe3nOfCLDfIYAmgM0 LGSij1iRb9Eo9ULDXvolJkjN =nH0o -----END PGP SIGNATURE----- -- Support the Blue Ribbon Campaign for free speech online () http://www.eff.org/blueribbon.html /\ "Those who will not reason perish in the act. Those who will not act, perish for that reason." - W. H. Auden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message