<p>Article is based on <a href="http://grokbase.com/t/sc/dbix-class/13cvefrj4t/reusing-defined-columns-inheritance">http://grokbase.com/t/sc/dbix-class/13cvefrj4t/reusing-defined-columns-inheritance</a><br>
Maybe it could be useful.</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/dim0xff/dbix-class topic/role_reusing_rs</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/dbsrgits/dbix-class/pull/38'>https://github.com/dbsrgits/dbix-class/pull/38</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Extend sub-classing receipt and add examples</li>
<li>Small fix in cookbook</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-0">examples/ComponentHooks/db/db.db</a>
(0)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-1">examples/ComponentHooks/db/db.sql</a>
(56)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-2">examples/ComponentHooks/dbtest.pl</a>
(150)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-3">examples/ComponentHooks/lib/DB.pm</a>
(14)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-4">examples/ComponentHooks/lib/DB/Result/Realty/Apartment/Rent.pm</a>
(9)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-5">examples/ComponentHooks/lib/DB/Result/Realty/Apartment/Rent/Daily.pm</a>
(9)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-6">examples/ComponentHooks/lib/DB/Result/Realty/Apartment/Sell.pm</a>
(9)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-7">examples/ComponentHooks/lib/DB/Result/Realty/House/Rent.pm</a>
(9)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-8">examples/ComponentHooks/lib/DB/Result/Realty/House/Sell.pm</a>
(9)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-9">examples/ComponentHooks/lib/DB/ResultRole/Realty/Rent.pm</a>
(11)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-10">examples/ComponentHooks/lib/DB/ResultRole/Realty/Rent/Daily.pm</a>
(12)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-11">examples/ComponentHooks/lib/DB/ResultRole/Realty/Sell.pm</a>
(12)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-12">examples/ComponentHooks/lib/DB/Shared/Result/Realty.pm</a>
(11)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-13">examples/ComponentHooks/lib/DB/Shared/Result/Realty/Apartment.pm</a>
(9)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-14">examples/ComponentHooks/lib/DB/Shared/Result/Realty/House.pm</a>
(9)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/dbsrgits/dbix-class/pull/38/files#diff-15">lib/DBIx/Class/Manual/Cookbook.pod</a>
(107)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/dbsrgits/dbix-class/pull/38.patch'>https://github.com/dbsrgits/dbix-class/pull/38.patch</a></li>
<li><a href='https://github.com/dbsrgits/dbix-class/pull/38.diff'>https://github.com/dbsrgits/dbix-class/pull/38.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/dbsrgits/dbix-class/pull/38'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/302594__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNDM3MzIwMCwiZGF0YSI6eyJpZCI6MjI5MTQ2NTR9fQ==--43d2165d5161e50832dfa65eb451a58818285f2e.gif' height='1' width='1'></p>