title: How to export a shell variable within a Perl script?
body: <p>I have a shell script, with a list of shell variables, which is executed before entering a programming environment.</p>
  
  <p>I want to use a Perl script to enter the programming environment:</p>
  
  <pre><code>system("environment_defaults.sh");
  system("obe");
  </code></pre>
  
  <p>But when I enter the environment the variables are not set.</p>