Corrahn has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl module that accesses a SWIG-generated wrapper around C++ code I wrote. I am seeing consistency issues between what %ENV reports to the perl side and what setenv/getenv reports to the C++ side. In particular, setenvs during the C++ module's bootstrap are not showing up in %ENV.
Child processes are fine, of course.
Any ideas about a cause or a fix? Thanks!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: %ENV vs C's setenv
by cdarke (Prior) on Oct 30, 2009 at 09:58 UTC | |
by Corrahn (Novice) on Oct 31, 2009 at 01:07 UTC | |
by afoken (Chancellor) on Oct 31, 2009 at 08:31 UTC | |
|
Re: %ENV vs C's setenv
by ikegami (Patriarch) on Oct 29, 2009 at 22:44 UTC | |
by Corrahn (Novice) on Oct 29, 2009 at 23:09 UTC | |
by ikegami (Patriarch) on Oct 29, 2009 at 23:35 UTC |