in reply to Re^3: MLDBM tie fails
in thread MLDBM tie fails
From the DBM::Deep code it seems that it is not properly creating the new file positions.db. Is there a way around this?#!/usr/bin/perl -w use strict; use Bio::AlignIO; use Bio::SeqIO; use Fcntl qw(O_RDWR O_CREAT); use DBM::Deep; require Variation::RecombConfig; use Variation::Recomb; use POSIX qw(ceil floor); use DirHandle; use File::Temp; use Data::Dumper; # do lots of stuff to create a big complex hash, %positions_hash my $db = DBM::Deep->new( -filename =>"positions.db", pack_size => 'lar +ge'); $db->import(\%positions_hash); $db->optimize();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: MLDBM tie fails
by tilly (Archbishop) on Dec 22, 2008 at 16:38 UTC | |
by greigite (Novice) on Dec 22, 2008 at 21:16 UTC |