From: Peter Rabbitson Date: Tue, 23 Feb 2010 13:03:20 +0000 (+0000) Subject: remove POD X-Git-Tag: v0.08120~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a7982681f1ad4b10892ec6d497194492f8c883cc;p=dbsrgits%2FDBIx-Class.git remove POD --- diff --git a/lib/DBIx/Class/Admin/Usage.pm b/lib/DBIx/Class/Admin/Usage.pm index 291fd1e..c1e477b 100644 --- a/lib/DBIx/Class/Admin/Usage.pm +++ b/lib/DBIx/Class/Admin/Usage.pm @@ -22,13 +22,8 @@ sub set_simple { } -=head2 pod - -This returns the usage formated as a pod document - -=cut - +# This returns the usage formated as a pod document sub pod { my ($self) = @_; return join qq{\n}, $self->pod_leader_text, $self->pod_option_text, $self->pod_authorlic_text; @@ -44,17 +39,13 @@ sub pod_leader_text { sub pod_authorlic_text { - return <<'EOA' -=head1 AUTHORS - -See L - -=head1 LICENSE - -You may distribute this code under the same terms as Perl itself - -=cut -EOA + return join ("\n\n", + '=head1 AUTHORS', + 'See L', + '=head1 LICENSE', + 'You may distribute this code under the same terms as Perl itself', + '=cut', + ); }