sub open_dbm { my ($directory,$fcntl) = @_; $directory = $XML::Edifact::Config::DAT unless $directory; $fcntl = O_RDONLY unless $fcntl; # HIER DER FEHLER... tie(%SEGMT, 'SDBM_File', $directory.'/segment.dat', $fcntl, 0644) || die "can not tie segment.dat:".$!; tie(%SEGMR, 'SDBM_File', $directory.'/segment.rev', $fcntl, 0644) || die "can not tie segment.dat:".$!; tie(%COMPT, 'SDBM_File', $directory.'/composite.dat', $fcntl, 0644) || die "can not tie composite.dat:".$!; tie(%ELEMT, 'SDBM_File', $directory.'/element.dat', $fcntl, 0644) || die "can not tie element.dat:".$!; tie(%CODET, 'SDBM_File', $directory.'/codes.dat', $fcntl, 0644) || die "can not tie codes.dat:".$!; $indent_join=''; $indent_tab=''; eval_xml_edifact_headers(); } sub close_dbm { untie(%SEGMT); untie(%SEGMR); untie(%COMPT); untie(%ELEMT); untie(%CODET); }