Re: [siesta-dev] Re: Installation process

[prev] [thread] [next] [lurker] [Date index for 2003/10/17]

From: Richard Clamp
Subject: Re: [siesta-dev] Re: Installation process
Date: 12:44 on 17 Oct 2003
On Fri, Oct 17, 2003 at 03:40:35PM +0400, Ilya Martynov wrote:
> Looking in source code Siesta::DBI uses @Siesta::Config::STORAGE list
> which gets defined in Siesta::Config::load_from() which is being
> called only if you have config file (even empty):
>     __PACKAGE__->load_from( $CONFIG_FILE ) if -e $CONFIG_FILE;
> It seems if you don't have config file even if defaults are defined
> they are not used.
> I've just tried to create empty config file and 'nacho
> create-database' worked

Doh, I forgot we used to use globals.  Pesky legacy.

Okay.  Step 1, kill the globals.  Step 2, kill the globals.  Step 3,
see step 1.

Thanks for the catch.

Richard Clamp <>

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52