projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
08d89f2
)
Fix syntax errors in POD data structure example
Dagfinn Ilmari Mannsåker [Sat, 13 Jun 2015 21:29:00 +0000 (22:29 +0100)]
Also wrap over-long verbatim lines
lib/DBIx/Class/Schema/Loader/RelBuilder.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/RelBuilder.pm
b/lib/DBIx/Class/Schema/Loader/RelBuilder.pm
index
e66ce73
..
38b7198
100644
(file)
--- 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' => [
# ...