[Catalyst] How to configure Catalyst home directory
    N. Arakawa 
    n-a at u01.gate01.com
       
    Wed Dec 13 13:32:34 GMT 2006
    
    
  
I want to configure Catalyst home directory.
I use up-to-date  Catalyst in CPAN.
Manual suggests to use
    use Catalyst qw[-Home=/usr/mst];
but doesn't work.
Moreover I can't even find the code segment which will handle '-Home' flag.
So now I do something like:
  BEGIN{
     $ENV{CATALYST_HOME}='/usr/mnt';
  }
Is it a bug of Catalyst or me?
B.T.W
Currently, config file path are resolved based on 'OS current
directory',  not a 'Catalyst home directory.'
	__PACKAGE__->config(
                     file => 'config.yml',
                   );
I hope this behavior changes.
Another possibility can be to allow "__HOME__/config.yml" syntax at here.
Thanks!
-- 
 - N. Arakawa
    
    
More information about the Catalyst
mailing list