title: Can't locate loadable object for module main in @INC
body: <p>In a mod_perl application running on ubuntu 16.04 after a certain while where everything functions fine (a few days) we get a fatal message in the errorlog:</p>
  
  <blockquote>
    <p>failed to resolve handler <code>MyHandler::ModPerl20</code> Can't locate loadable object for module main in @INC </p>
  </blockquote>
  
  <p>MyHander::ModPerl20 is defined in a location block</p>
  
  <pre><code>&lt;Perl&gt;
       unshift @INC, '/path/to/my/code';
  &lt;/Perl&gt;
  &lt;Location ~ "/imp($|/)"&gt;
      SetHandler modperl
      PerlResponseHandler MyHandler::ModPerl20
  &lt;/Location&gt;
  </code></pre>
  
  <p>The ubuntu Perl Version is 5.22. Apache 2.4</p>
  
  <p>Can this be the problem?
  <a href="http://blog.feature-addons.de/2016-05-15-otrs-apache-mod-perl-perl-5-22" rel="noreferrer">http://blog.feature-addons.de/2016-05-15-otrs-apache-mod-perl-perl-5-22</a></p>
  
  <p>Any ideas how to fix this? Do I really have to set up nginx/uwsgi?</p>