On Fri, 2 Aug 2002 21:53:31 -0700, Soheil Shaghaghi wrote:

>2. This one might not be related to DBI, but I can't find any answer for it
>anywhere!
>I see this error inmy eror log files:
>Argument "O_RDONLY" isn't numeric in subroutine entry at
>/usr/local/lib/perl5/5.6.1/i386-freebsd/DB_File.pm line 259.

That means that the module containing this "contstant" isn't loaded, or
at least, not properly imported from. That module is Fcntl. You have to
use Fcntl either with no arguments, or with ':DEFAULT' among them. This
might be a bug in DB_File.

-- 
        Bart.

Reply via email to