[Catalyst-commits] r12649 -
Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Thu Jan 14 14:59:33 GMT 2010
Author: caelum
Date: 2010-01-14 14:59:33 +0000 (Thu, 14 Jan 2010)
New Revision: 12649
Modified:
Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema/Types.pm
Log:
support single replicant from config
Modified: Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema/Types.pm
===================================================================
--- Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema/Types.pm 2010-01-14 14:25:20 UTC (rev 12648)
+++ Catalyst-Model-DBIC-Schema/trunk/lib/Catalyst/Model/DBIC/Schema/Types.pm 2010-01-14 14:59:33 UTC (rev 12649)
@@ -57,6 +57,8 @@
via { [ _coerce_connect_info_from_str() ] },
from CodeRef,
via { [ +{ dbh_maker => $_ } ] },
+ from HashRef,
+ via { [ $_ ] },
from ArrayRef,
via { [ map {
!ref $_ ? _coerce_connect_info_from_str()
More information about the Catalyst-commits
mailing list