From: Rafael Kitover Date: Tue, 6 Sep 2011 08:21:41 +0000 (-0400) Subject: fix uninit warn for no pod and result_base_class X-Git-Tag: 0.07011~44 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7ca448fcfae3f1cc8286b713dfcbcc8be542a1b5;p=dbsrgits%2FDBIx-Class-Schema-Loader.git fix uninit warn for no pod and result_base_class --- diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 04a89c1..4eae9fb 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -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>