468,132 Members | 1,540 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,132 developers. It's quick & easy.

SDBM_File Error: Argument "O_RDWR" isn't numeric in null operation

I am writing a script which accesses a DBM file using SDBM. The
program works but throws out a warning of: -

Argument "O_RDWR" isn't numeric in null operation

I've included Fcntl but that doesn't solve the problem. Does anyone
why this is happening?
Thanks
Richard
use SDBM_File;
use Fcntl;

tie (%DB, 'SDBM_File', "fund.dbm",O_RDWR, 0644) or die "Couldn't find
file\n";

foreach $fund (keys %DB) {
print $fund;
}

untie %DB;
Jul 19 '05 #1
0 1721

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by pattanawadee | last post: by
2 posts views Thread by bite me if you can... | last post: by
13 posts views Thread by Vincent Delporte | last post: by
3 posts views Thread by golden | last post: by
2 posts views Thread by Simone | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.