--- trunk/all2xml.pl 2005/02/17 18:08:14 672 +++ trunk/all2xml.pl 2005/02/17 18:11:57 673 @@ -742,13 +742,13 @@ $import2cp = Text::Iconv->new($config->{isis_codepage},$codepage); my $db = new Biblio::Isis( isisdb => $isis_db ); - my $max_rowid = $db->count if ($db); - - if (! $max_rowid) { + if (! $db) { print STDERR "FATAL: can't read ISIS database: $isis_db, skipping...\n"; next; } + my $max_rowid = $db->count if ($db); + print STDERR "Reading database: $isis_db [$max_rowid rows]\n"; for (my $row_id = 1; $row_id <= $max_rowid; $row_id++ ) {