At the office we run an AIX ver 5 rel 3 system. We have a Perl script that given its
parameters makes a decision on how to call several other programs. One of the programs
that it calls is a compiled C program. I was having problems so I investigated and
found that an environment variable that is known to the Perl script is not received by
the compiled C program. The Perl script uses the Perl 'system' function to run the
compiled C program. According to the information I found for AIX the limit of
parameters and environment variables is very large for our system, so that is not the problem.
Any ideas as to why an environment variable gets lost when the C program is called ?