fix uninit warn for no pod and result_base_class
Rafael Kitover [Tue, 6 Sep 2011 08:21:41 +0000 (04:21 -0400)]
lib/DBIx/Class/Schema/Loader/Base.pm

index 04a89c1..4eae9fb 100644 (file)
@@ -2552,7 +2552,7 @@ sub _pod_class_list {
 sub _base_class_pod {
     my ($self, $base_class) = @_;
 
-    return unless $self->generate_pod;
+    return '' unless $self->generate_pod;
 
     return <<"EOF"
 =head1 BASE CLASS: L<$base_class>