Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 1998 12:50:35 -0700
From:      Leonard <leonardc9@usa.net>
To:        questions@FreeBSD.ORG
Subject:   Setting shell environment vars in perl
Message-ID:  <3.0.5.32.19980412125035.007b7e30@pop.slip.net>

next in thread | raw e-mail | index | archive | help
-----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 <http://www.pgp.com>;

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980412125035.007b7e30>