[Catalyst] home and root dir

Johan Lindstrom johanl at DarSerMan.com
Fri Jul 22 14:42:04 CEST 2005

Hi all!

The config "root" and "name" is mentioned in the docs.

Q1. What is the home dir used for, and what relationship does it have with 
the root dir?
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)?

-------- ------ ---- --- -- --  --  -     -     -        -          -
Johan Lindström    Sourcerer @ Boss Casinos   johanl AT DarSerMan.com

Latest bookmark: "TCP Connection Passing"
dmoz: /Computers/Programming/Languages/JavaScript/ 12

More information about the Catalyst mailing list