"//mods:mods/mods:titleInfo[mods:title and (\@type='uniform')]",
proper =>
"//mods:mods/mods:titleInfo[mods:title and not (\@type)]",
+ any =>
+ "//mods:mods/mods:titleInfo",
},
author => {
for my $arr (@value) {
if( ref($arr) ) {
$data->{$class}->{$type} = shift @$arr;
- $data->{$class}->{$type} = shift @$arr if (lc($data->{$class}->{$type}) =~ /^the|an?/o);
+ $data->{$class}->{$type} .= shift @$arr if (lc($data->{$class}->{$type}) =~ /^the|an?/o);
for my $t (@$arr) {
$data->{$class}->{$type} .= ' : ' if ($data->{$class}->{$type} =~ /\w\s*$/o);
$data->{$class}->{$type} .= " $t";
($title = $tmp->{proper}) ||
($title = $tmp->{translated}) ||
($title = $tmp->{abbreviated}) ||
- ($title = $tmp->{uniform});
+ ($title = $tmp->{uniform}) ||
+ ($title = $tmp->{any});
}
$tmp = $modsperl->{author};