title: Force readonly when connecting to sqlite file
body: <p>On many front ends,
  I wish to enforce my scripts using a readonly connection to a sqlite3 file mirrored from a master server.</p>
  
  <p>Is there's a way to say DBI to do this ?</p>
  
  <p>For the moment, I'm doing this:</p>
  
  <pre><code>       $dbHand = DBI-&gt;connect("dbi:SQLite:dbname=$dbName", $dbUser, $dbPass, {
              PrintError =&gt; 0,
              RaiseError =&gt; 1,
              AutoCommit =&gt; 1,
      }) or die $DBI::errstr;
  </code></pre>
  
  <p>And get full access.</p>
  
  <ul>
  <li>I'm not perl fluent, I have to maintain/evolve existing</li>
  <li>(I don't want to deal with file permissions)</li>
  </ul>