[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Wed Dec 15 19:37:12 UTC 2004


mwilkinson
Wed Dec 15 14:37:12 EST 2004
Update of /home/repository/moby/moby-live/Perl/MOBY/Client
In directory pub.open-bio.org:/tmp/cvs-serv16827

Modified Files:
	Central.pm 
Log Message:
one more uninitialized value

moby-live/Perl/MOBY/Client Central.pm,1.86,1.87
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Client/Central.pm,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- /home/repository/moby/moby-live/Perl/MOBY/Client/Central.pm	2004/12/15 04:13:47	1.86
+++ /home/repository/moby/moby-live/Perl/MOBY/Client/Central.pm	2004/12/15 19:37:12	1.87
@@ -1865,6 +1865,7 @@
 		next unless $_->nodeType == TEXT_NODE;
 		$content = $_->toString;
 	}
+    $content ||="";
 	$content =~ s/<!\[CDATA\[((?>[^\]]+))\]\]>/$1/gs;
 	return $content;
 }




More information about the MOBY-guts mailing list