Config.pm not loading siesta.conf

[prev] [thread] [next] [lurker] [Date index for 2004/11/10]

From: Bowen Dwelle
Subject: Config.pm not loading siesta.conf
Date: 19:23 on 10 Nov 2004
I merged with the trunk, and learned about In-Reply-To...

It looks like Config.pm hardcodes the rootdir from ./Build.

It sure would be nice to have a way to use $HOME, so that those dirs 
aren't hardcoded.

More importantly, Config.pm doesn't read the siesta.conf unless told 
explicity to load_from(). It certainly seems that this would be the 
desired behavior.

The old version of Config.pm did load_from() itself in a BEGIN block, 
but that seems to have been removed in the trunk. I fooled around with 
it a bit, but there are a bunch of BEGIN's in nacho and tequila that 
make it hard to get right.

Lastly, the trunk of tequila doesn't run properly with -f config_file. I 
have a patch, if anyone wants it.

-- Bowen

Generated at 19:00 on 11 Nov 2004 by mariachi 0.52