note
periapt
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig">
According to the doc page <a href="http://search.cpan.org/~pmqs/DB_File-1.817/DB_File.pm#THE_API_INTERFACE">DB_File</a> uses the constants defined in the dbopen function library. A quick web search on <a href="http://www.manpagez.com/man/3/dbopen/">"man dbopen"</a> suggest that the constants defined in fcntl.h are part of this library so I would try "use Fcntl" to see if that clears up your errors.
<br><br>
Interestingly, the doc page indicates that using O_WRONLY as a flag to the open action will produce an error since it doesn't make any sense to open a database for writing only. It's probably a different, non-db, file that is being opened this way.
<div class="pmsig-295419">
<br>PJ<br><i><h5>use strict; use warnings; use diagnostics;</h5></i>
</div></div>
718218
718218