Lines 648-654
sub AddAuthority {
Link Here
|
648 |
my $value = $subfield->[1]; |
648 |
my $value = $subfield->[1]; |
649 |
$value =~ s/[\n\r]+/ /g; |
649 |
$value =~ s/[\n\r]+/ /g; |
650 |
$value =~ s/^\s+|\s+$|^\t+|\t+$//g; |
650 |
$value =~ s/^\s+|\s+$|^\t+|\t+$//g; |
651 |
$field->update( $key => $value ); |
651 |
$field->add_subfields( $key => $value ); # add subfield to the end of the subfield list |
|
|
652 |
$field->delete_subfield( pos => 0 ); # delete the subfield at the top of the subfield list |
652 |
} |
653 |
} |
653 |
} |
654 |
} |
654 |
} |
655 |
} |
655 |
- |
|
|