[html-formfu] Default base dir for load_config_file + Cookbook, anyone?

Mario Minati mario.minati at googlemail.com
Thu Oct 4 22:32:38 GMT 2007


On Thursday 04 October 2007 17:13:37 Will Hawes wrote:
> I've just started to experiment properly with HTML::FormFu, while things
> are brand new I'll see if I can help with some documentation improvements.
> So, first  question - how does load_config_file determine the base dir and
> what does it default to? The HTML::FormFu docs don't seem to mention it,
> IMO this should be clearly explained under load_config_file.

load_config_file is defined in ObjectUtil.pm

It uses Config::Any->load_files( { files   => [$file], ..} to load the files.
So it looks relatie from the apps basepath, in Catalyst you use 'root/...'

Greets,
Mario



More information about the HTML-FormFu mailing list