title: Running ksh script inside a perl code is not working
body: <p>I have a Korn shell script at a location like <code>/opt/apps/abc/folder/properties.env</code>. I can execute it from Unix bash using the dot command:</p>
  
  <pre><code>. /opt/apps/abc/folder/properties.env
  </code></pre>
  
  <p>This works.</p>
  
  <p>I have a Perl script <code>abc.pl</code> from which I am calling the script <code>properties.env</code>. I tried the following different:</p>
  
  <ol>
  <li><p><code>system('/usr/bin/ksh','-c', '. /opt/apps/abc/folder/properties.env');</code></p></li>
  <li><p><code>/usr/bin/ksh -c /opt/apps/abc/folder/properties.env;</code></p></li>
  <li><p><code>system('. /opt/apps/abc/folder/properties.env');</code></p></li>
  </ol>
  
  <p>None of the above work. I don't want to use <code>exec</code> because I want to return to the Perl script. What am I doing wrong?</p>