From: Dagfinn Ilmari Mannsåker Date: Tue, 26 Aug 2014 18:38:51 +0000 (+0100) Subject: Eliminate POD-containing heredoc X-Git-Tag: 0.07043~32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8450db79c3a3413d1de42fbdc2b466ac4749e28a;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Eliminate POD-containing heredoc The POD was being picked up by POD parsers, and showed up as a spurious "BASE CLASS: $base_class" heading. --- diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 2b11d49..392fb1e 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -3011,12 +3011,7 @@ sub _base_class_pod { return '' unless $self->generate_pod; - return <<"EOF" -=head1 BASE CLASS: L<$base_class> - -=cut - -EOF + return "\n=head1 BASE CLASS: L<$base_class>\n\n=cut\n\n"; } sub _filter_comment {