tie problem
From: Richard (rschurchill_at_freenet.co.uk)
Date: 10/29/03
- Next message: Brian McCauley: "Re: fork process to handle fifo input"
- Previous message: Purl Gurl: "Re: DOS window."
- Next in thread: Ben Morrow: "Re: tie problem"
- Reply: Ben Morrow: "Re: tie problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2003 09:51:05 -0800
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
know 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;
- Next message: Brian McCauley: "Re: fork process to handle fifo input"
- Previous message: Purl Gurl: "Re: DOS window."
- Next in thread: Ben Morrow: "Re: tie problem"
- Reply: Ben Morrow: "Re: tie problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|