[Catalyst] home and root dir
Chisel Wright
chisel at herlpacker.co.uk
Fri Jul 22 15:31:14 CEST 2005
On Fri, Jul 22, 2005 at 02:42:04PM +0200, Johan Lindstrom wrote:
> As understand it, the home dir is deduced during startup, and then the
> default root is below the home dir. Is there more magic to it? Is there
> anything else the home dir is used for? It appears I can set it in the
> config, but do I risk something breaking anywhere?
>
> Q2. What other config parameters except root and name and home are used by
> Catalyst itself? (Data::Dumper revealed only the three mentioned above.)
>
> Debugging these things, it dawned on me that it would be immensly useful to
> have at least the Catalyst native config options displayed during startup
> (home is displayed now) and in the debug screen. Could the entire config
> hash be dumped perhaps (with a maxdepth if someone sticks a deeply nested
> object there)?
__PACKAGE__->setup;
__PACKAGE__->log->debug(
Data::Dumper->Dumper(
__PACKAGE__->config
)
);
?
--
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/
More information about the Catalyst
mailing list