This question is not relevant to this mailing list - DBI is a perl module for database access, discussion of dbmopen and dbmclose is more appropriate on a general perl users mailing list.
See http://lists.perl.org I think you need to read the documentation for dbmopen for the answer to your problem. Andrea Ceccopieri wrote: > > Hi, i have a problem with accessing database with Perl. > I run this code: > > dbmopen(%HashDatabase,$DBName,0666) or die "Couldn't tie SDBM file > 'filename': $!; aborting"; > foreach $element (keys %HashDatabase) > { > $query->put("$HashDatabase{$element}"); > } > > I receive an error on the html response page that is: > Out of memory error! > > What shall i do? > Thank you very much > Andy -- Steve Piner Web Applications Developer Marketview Limited http://www.marketview.co.nz
