Revision 6f741b43
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/DB.pm | ||
---|---|---|
4 | 4 |
|
5 | 5 |
use Carp; |
6 | 6 |
use Data::Dumper; |
7 |
use SL::DBConnect; |
|
8 | 7 |
use English qw(-no_match_vars); |
9 | 8 |
use Rose::DB; |
10 | 9 |
use Rose::DBx::Cache::Anywhere; |
... | ... | |
19 | 18 |
sub dbi_connect { |
20 | 19 |
shift; |
21 | 20 |
|
21 |
# runtime require to break circular include |
|
22 |
require SL::DBConnect; |
|
22 | 23 |
return SL::DBConnect->connect(@_); |
23 | 24 |
} |
24 | 25 |
|
... | ... | |
37 | 38 |
my $domain = shift; |
38 | 39 |
my $type = shift; |
39 | 40 |
|
41 |
require SL::DBConnect; |
|
40 | 42 |
my %specific_connect_settings; |
41 | 43 |
my %common_connect_settings = ( |
42 | 44 |
driver => 'Pg', |
Auch abrufbar als: Unified diff
Zirkuläres Include zwischen SL::DBConnect und SL::DB aufbrechen