Home / Programming / Perl / How do I fix this error: Argument "O_RD" isn't numeric in subroutine entry at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DB_Fi le.pm line 278
How do I fix this error: Argument "O_RD" isn't numeric in subroutine entry at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DB_Fi le.pm line 278
Last updated: 06/26/2009
Apparently, somewhere along the line, the global "O_RD" changed to "O_RDONLY" - so you need to update the code in question to replace O_RD with O_RDONLY anywhere it appears in the code.