Accepts subjects separated by | or \n
authorrangi <rangi>
Sat, 26 Jun 2004 23:43:12 +0000 (23:43 +0000)
committerrangi <rangi>
Sat, 26 Jun 2004 23:43:12 +0000 (23:43 +0000)
updatebiblio.pl

index 3064515..c8a607d 100755 (executable)
@@ -58,7 +58,7 @@ my $error;
 &modaddauthor($bibnum, $addauthor);
 
 $subject = uc($subject);
-@sub     = split(/\|/, $subject);
+@sub     = split(/\||\n/, $subject);
 $count   = @sub;
 
 for (my $i = 0; $i < $count; $i++) {