in reply to How to execute a Korn shell ". <some-file>" from within Perl

The problem is, is that it doesn't execute using system, ` `, or exec.

Yes, it does. Your "problem" is that a child process cannot set environment variables for its parents. This is as it should be.

Read perldoc -q environment for details.

You need to find out which environment variables your child process is setting and then set them from within Perl using $ENV{SOME_VAR}='some value'; or set them permanently using your .login script or some such mechanism, depending on shell and OS.

--
Regards,
Helgi Briem
helgi AT decode DOT is