[Catalyst] Identifying the home dir

Sebastian Riedel sri at oook.de
Thu Jul 21 19:34:59 CEST 2005


Am 21.07.2005 um 12:14 schrieb Krzysztof Krzyżaniak:

> Johan Lindstrom <johanl at DarSerMan.com> writes:
>
>
>> Hi all!
>>
>> A thought regarding identifying the home dir (and hence, the  
>> default root
>> dir for templates etc).
>>
>> &Catalyst::Utils::home looks for the presence of e.g. Build.PL and
>> Makefile.PL to anchor the home dir. Any thoughts on also using the  
>> presence
>> of the dir "root" to locate the home dir? Any other markers that  
>> could be
>> useful and considered stable?
>>
>
> I don't have root dir for example (I prefer 'htdocs' instead) but  
> always
> have 'script' & 'lib' directory.

Problem is we need something to identify that we are not installed  
(make install), lib doesn't qualify there, maybe 'script'...

--
sebastian




More information about the Catalyst mailing list