X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Aleph.pm;h=448beaa19cdaf6e84d53a3551d05f2c01511ad7c;hb=2bc1eae8188eb1d8a8ce57374514e1f20a50b6e6;hp=99c054dbeb03c89c5c799220fe185436917dadf5;hpb=0cf61cc2c3d25c027c343701f238e225c148fbd1;p=Biblio-Z3950.git diff --git a/Aleph.pm b/Aleph.pm index 99c054d..448beaa 100644 --- a/Aleph.pm +++ b/Aleph.pm @@ -173,6 +173,8 @@ warn "## ++ ", dump( $f, $v ); my ($i1,$i2) = (' ',' '); ($i1,$i2) = ($2,$3) if $f =~ s/^(...)(.)?(.)?/$1/; + $i1 ||= ' '; + $i2 ||= ' '; my @sf = split(/\|/, $v); @sf = map { s/^(\w)\s+//; { $1 => $_ } } @sf; #warn "## sf = ", dump(@sf);