HotDBI — specify catalogs that should use persistent database connections
Specify catalogs that should use persistent database connections. When a connection is persistent, it will be maintained and cached without reconnecting for every page request.
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 3013 (context shows lines 3013-3030)
sub parse_boolean {
my($item,$settings) = @_;
my(@setting) = grep /\S/, split /[\s,]+/, $settings;
my $c;
if(defined $C) {
$c = $C->{$item} || {};
}
else {
no strict 'refs';
$c = ${"Global::$item"} || {};
}
for (@setting) {
$c->{$_} = 1;
}
return $c;
}