using shell_exec to call a perl script from php
<p>I am having an issue with executing a perl script from php using the shell_exec() function.</p>

<p>This is what I have tried (and it has worked before).</p>

<pre><code>$perl = shell_exec("/usr/bin/perl cbh_script_clean.pl");
echo ($perl);
</code></pre>

<p>This will not work as $perl does not contain anything after this is executed.</p>

<p>Thoughts?</p>

<p>All help is appreciated!</p>

<p>Thanks.</p>
