RE: [cgiapp] [OT] Config::Context && Windows

2005-10-24 Thread Ron Savage
On Tue, 25 Oct 2005 10:31:37 +1000, Ron Savage wrote: > On Sun, 23 Oct 2005 17:10:59 +1300, Dan Horne wrote: Hi Dan >> I use CGI::Application::Plugin::Config::Context under Windows . >> Basically I ignored the test failures (naughty I know) ... I'm a > I ignored them too. Sigh. I'll re-run the te

RE: [cgiapp] [OT] Config::Context && Windows

2005-10-24 Thread Ron Savage
On Sun, 23 Oct 2005 17:10:59 +1300, Dan Horne wrote: Hi Dan > I use CGI::Application::Plugin::Config::Context under Windows . > Basically I ignored the test failures (naughty I know) ... I'm a I ignored them too. Sigh. I'll re-run the tests and look into it. > It also means that you'll need to

Re: [cgiapp] [OT] Q: Configuring - Same app - Different databases

2005-10-24 Thread Ron Savage
On Tue, 25 Oct 2005 01:07:49 +0200, Webmaster Techcode.NET wrote: Hi Alex > In config file I have something like : [snip] > [autoreorder] > dsn=dbi:mysql:autoreorder > username=alex > name=autoreorder You use Config::Simple, and from my reply to Mark you can see I use CGI::Application::Plugin::C

Re: [cgiapp] Re: [OT] Q: Configuring - Same app - Different databases

2005-10-24 Thread Ron Savage
On Mon, 24 Oct 2005 20:10:48 + (UTC), Mark Stosberg wrote: Hi Mark > When I've created apps that can use more than one db, I used the > config file to drive it all. I've come round to this, too. In the past I always preferred to put the config data in the program. Then I tried letting the

Re: [cgiapp] [OT] Q: Configuring - Same app - Different databases

2005-10-24 Thread Webmaster Techcode.NET
Some time ago I posted an RFC for a module on [PM] : http://www.perlmonks.org/?node_id=491418 At first it all may seem somewhat complicated as it's in several files. But I wrote it once, and just reuse it. In config file I have something like : == database.conf == connection_management=startup [

Re: [cgiapp] [OT] Q: Configuring - Same app - Different databases

2005-10-24 Thread Valerio VALDEZ Paolini
Hello, On Sunday 23 October 2005 00:31, Ron Savage wrote: > Which method do people use to handle the senario in the Subject: > > o DSN/user/pass in the environment? > - If so, you do configure Apache to set the env on a per-location basis? > > o Ditto in config files? > - If so, how do

[cgiapp] Re: [OT] Q: Configuring - Same app - Different databases

2005-10-24 Thread Mark Stosberg
On 2005-10-22, Ron Savage <[EMAIL PROTECTED]> wrote: > Hi Folks > > Which method do people use to handle the senario in the Subject: > > o DSN/user/pass in the environment? > - If so, you do configure Apache to set the env on a per-location basis? > > o Ditto in config files? > - If so,

Re: [cgiapp] CGI::Application::Dispatch::BuildURI module

2005-10-24 Thread Michael Peters
Kensuke Kaneko wrote: > Hello, everyone! > > I made a module named CGI::Application::Dispatch::BuildURI. > This module resolve a relative URI path's problem when writing template > files. > > When I use CGI::Application::Dispatch, I often confused by relative > URI path difference. > For exam