title: What is the right way to install IO::Socket::SSL using Carton and custom LibreSSL/OpenSSL
body: <p>Perl framework <em>Mojolicious</em> uses optional module <strong>IO::Socket::SSL</strong> for secured connections.</p>
  
  <p><em>Mojolicious</em> and <strong>IO::Socket::SSL</strong> must be installed using <strong>Carton</strong> (<em>cpanfile</em> contains dependencies list).<br />
  In order to use <strong>IO::Socket::SSL</strong> I need to have <strong>Net::SSLeay</strong> installed.<br />
  <strong>Net::SSLeay</strong> requires LibreSSL or OpenSSL installed.</p>
  
  <p>On developer's server, a determined Perl project must use a determined LibreSSL/OpenSSL version:</p>
  
  <pre><code>$HOME/opt/LibreSSL/v1
  $HOME/opt/LibreSSL/v...
  $HOME/opt/OpenSSL/v1
  $HOME/opt/OpenSSL/v...
  </code></pre>
  
  <p>My solution is to change <strong>$PATH</strong> system variable (for local custom LibreSSL/OpenSSL) before:<br /></p>
  
  <pre><code>- execution "carton install" command
  - running of a Perl project for testing
  </code></pre>
  
  <p>Is it right way?</p>