* On Wed, Nov 19 2008, Jose Luis Martinez wrote:
sub ACCEPT_CONTEXT {
my ($self, $c) = @_;
my $user_db = $c-lookup_the_users_db();
$self-{'dsn'} =~ s/#DATABASE#/$user_db/;
return $self;
}
I am really surprised that this works at all. When do you actually ever
connect to
Jonathan Rockway escribió:
* On Wed, Nov 19 2008, Jose Luis Martinez wrote:
sub ACCEPT_CONTEXT {
my ($self, $c) = @_;
my $user_db = $c-lookup_the_users_db();
$self-{'dsn'} =~ s/#DATABASE#/$user_db/;
return $self;
}
I am really surprised that this works at all. When do you
On 20 Nov 2008, at 14:51, Jose Luis Martinez wrote:
Jonathan Rockway escribió:
* On Wed, Nov 19 2008, Jose Luis Martinez wrote:
sub ACCEPT_CONTEXT {
my ($self, $c) = @_;
my $user_db = $c-lookup_the_users_db();
$self-{'dsn'} =~ s/#DATABASE#/$user_db/;
return $self;
}
I am
Hello,
This question has been asked a couple of times on the list, and I have
found yet another solution to it, but I would like to hear if maybe I'm
doing something wrong, or I will suffer serious pain by doing it my way :)
We have an app that will connect to one database or another
19, 2008 9:54 AM
To: The elegant MVC web framework
Subject: [Catalyst] One App, multiple databases
Hello,
This question has been asked a couple of times on the list, and I have
found yet another solution to it, but I would like to hear if maybe I'm
doing something wrong, or I will suffer serious
Mesdaq, Ali escribió:
Are these db's exact copies as far as schema from each other? Or is it different tables and structure as well?
Reason I am asking is because if its exactly the same and all your queries work
the same and your logic works the same as well and the only difference is if