[Catalyst] home dir detection problem

Marcello m.romani at spinsoft.it
Mon Nov 7 16:16:23 CET 2005


Hi all,

     While developing a new catalyst app from scratch I found a strange 
error: home directory autodetection always found 
/path/to/MyApp/lib/MyApp instead of /path/to/MyApp

The problem was I didn't use the helper scripts to generate the initial 
skeleton, so I did not create Makefile.PL nor Build.PL.
After putting an empty Makefile.PL in /path/to/MyApp home autodetection 
worked fine again.
I found this solution reading Catalyst::Util.pm (sub home).

I don't think this is a bug, but I think it might be helpful to mention 
it in the "solved issues" page on the dev site.

-- 
Marcello Romani
Developer
Spin s.r.l.
Reggio Emilia
http://www.spinsoft.it




More information about the Catalyst mailing list