ndbm error no 28
- From: chuckr@xxxxxxx (C . R .)
- Date: Fri, 27 Oct 2006 12:29:09 -0400
Perl 5.6.1 on Solaris
While storing a value to a dbm file (hash file) I get this error:
"ndbm store returned -1, errno 28, key "11000-120" at excond.pl line
313, <INFILE> line 331."
I think I may have reached the limit to the amount of data I can store
in a record. What is this limit? 2K? I don't think I have more than 1024
bytes in my record.
I do have ascii values 1, 2, and 9 in there, they are used as field
separators and subfield separators. 9 is tab. Aren't any ascii values
allowed in the data?
This is how I'm opening the hash file:
$dbfile="cond";
dbmopen(%data,"$dbfile",0666) || die "Could not open dbm file $dbfile.
$!.";
$data{$key}=$s; # where $s contains my data
Thank you.
.
- Follow-Ups:
- Re: ndbm error no 28
- From: Mumia W.
- Re: ndbm error no 28
- Prev by Date: Re: Find all matches in a string via regex
- Next by Date: open()
- Previous by thread: Need to pull matched string plus a few additional bytes
- Next by thread: Re: ndbm error no 28
- Index(es):