Thanks for all the replies.&nbsp; Putting the full path in fixed the problem. <br><br>Thanks again.<br><br><div class="gmail_quote">On Jan 11, 2008 10:07 AM, Quinn Weaver &lt;<a href="mailto:quinn@fairpath.com">quinn@fairpath.com
</a><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">On Fri, Jan 11, 2008 at 09:39:27AM -0600, Richard Reina wrote:<br>
<br>&gt; Any ideas as to what I&#39;m doing wrong? &nbsp;Thanks for any help.<br><br></div>I think the problem is this:<br><br>When you run it from the command line, it uses your personal<br>environment var settings, including your setting for PERL5LIB.
<br><br>When it runs from your init.d script, it doesn&#39;t have your environment--<br>just a minimal env setup provided by the init system.<br><br>To avoid confusion, I would use an explicit path here:<br><br>&gt; &nbsp; &nbsp; &nbsp; require &quot;mail_processor.pl&quot;;
<br><br>e.g. require &#39;/path/to/mail_processor.pl&#39;;<br><br>HTH,<br><font color="#888888"><br>--<br>Quinn Weaver, independent contractor &nbsp;| &nbsp;President, San Francisco Perl Mongers<br><a href="http://fairpath.com/quinn/resume/" target="_blank">
http://fairpath.com/quinn/resume/</a> &nbsp; &nbsp; | &nbsp;<a href="http://sf.pm.org/510-520-5217" target="_blank">http://sf.pm.org/<br>510-520-5217</a><br>_______________________________________________<br>SanFrancisco-pm mailing list
<br><a href="mailto:SanFrancisco-pm@pm.org">SanFrancisco-pm@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/sanfrancisco-pm" target="_blank">http://mail.pm.org/mailman/listinfo/sanfrancisco-pm</a><br></font></blockquote>
</div><br>