projects
/
Biblio-Z3950.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ignore ssl certificate errors
[Biblio-Z3950.git]
/
t
/
1-COBISS.t
1
#!/usr/bin/perl
2
3
use warnings;
4
use strict;
5
6
use Test::More tests => 6;
7
8
use_ok 'COBISS';
9
10
ok( my $o = COBISS->new, 'new' );
11
12
ok( my $hits = $o->search( 'TI=book' ), 'search' );
13
diag "$hits results";
14
15
foreach ( 1 .. 3 ) {
16
17
ok( my $marc = $o->next_marc, "next_marc $_" );
18
diag $marc;
19
20
}