From: Dagfinn Ilmari Mannsåker Date: Sat, 13 Jun 2015 21:29:00 +0000 (+0100) Subject: Fix syntax errors in POD data structure example X-Git-Tag: 0.07044~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e32e7713744127816741f78a3a0e21b49c54881;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Fix syntax errors in POD data structure example Also wrap over-long verbatim lines --- diff --git a/lib/DBIx/Class/Schema/Loader/RelBuilder.pm b/lib/DBIx/Class/Schema/Loader/RelBuilder.pm index e66ce73..38b7198 100644 --- a/lib/DBIx/Class/Schema/Loader/RelBuilder.pm +++ b/lib/DBIx/Class/Schema/Loader/RelBuilder.pm @@ -96,8 +96,10 @@ arguments, like so: { 'Some::Source::Class' => [ - { method => 'belongs_to', arguments => [ 'col1', 'Another::Source::Class' ], - { method => 'has_many', arguments => [ 'anothers', 'Yet::Another::Source::Class', 'col15' ], + { method => 'belongs_to', arguments => [ + 'col1', 'Another::Source::Class' ] }, + { method => 'has_many', arguments => [ + 'anothers', 'Yet::Another::Source::Class', 'col15' ] }, ], 'Another::Source::Class' => [ # ...