Python to Perl Conversions

Fred L. Drake, Jr. fdrake at
Fri Aug 20 10:07:47 EDT 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 L. Drake, Jr.	     <fdrake at>
Corporation for National Research Initiatives

More information about the Python-list mailing list