From: Jonathan Yu Date: Wed, 14 Jan 2009 15:56:38 +0000 (+0000) Subject: - Fixed POD producer X-Git-Tag: v0.11008~256 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e4608c6f5d5fe91c0bac9e690eac7e366c793ef;p=dbsrgits%2FSQL-Translator.git - Fixed POD producer Bug: constraints were not providing two newlines \n\n after each item; the =back command was not put on a different line, causing POD errors --- diff --git a/lib/SQL/Translator/Producer/POD.pm b/lib/SQL/Translator/Producer/POD.pm index 04bd685..c28aec9 100644 --- a/lib/SQL/Translator/Producer/POD.pm +++ b/lib/SQL/Translator/Producer/POD.pm @@ -116,11 +116,11 @@ sub produce { } if ( my $update = $c->on_update ) { - $pod .= "=item * On update = $update"; + $pod .= "=item * On update = $update\n\n"; } if ( my $delete = $c->on_delete ) { - $pod .= "=item * On delete = $delete"; + $pod .= "=item * On delete = $delete\n\n"; } $pod .= "=back\n\n";