Python to Perl Conversions

Fred L. Drake, Jr. fdrake at acm.org
Fri Aug 20 16:07:47 CEST 1999


Tom Christiansen wrote:
 > posix.environ                           The %ENV hash; no import
 >                                         needed in Perl.  However, assignment doesn't 
 >                                         appear to propagate to
 >                                         unborn children as it does in Perl.

Gordon McMillan writes:
 > Use putenv() to do that.


  I think the current recommendation is to use os.environ instead of
posix.environ; there's something about that in the documentation for
posix.environ as well.


  -Fred

--
Fred L. Drake, Jr.	     <fdrake at acm.org>
Corporation for National Research Initiatives




More information about the Python-list mailing list