title: Pass variable from perl script to shell script in Unix
body: <p>Am pretty much aware of passing variables between shell scripts using '<code>EXPORT</code>' command. But am stuck with passing a variable value from a <strong>perl script to shell script</strong> in UNIX operating systems.</p>
  
  <p>Let me explain it clearly.</p>
  
  <p>I have a parent shell called parent_shell.sh. Inside this shell script am using a variable called <code>'file_name'</code> which I should fetch from child perl script.</p>
  
  <p>So inside my parent_shell.sh script it will be like as follows,</p>
  
  <pre><code>perl my_perl_script.pl
  
  file_name = 'variable' #from perl above perl script
  </code></pre>
  
  <p>Hope this is clear. Please let me know if it is not clear.</p>
  
  <p>Thanks</p>