[Catalyst] Requirement for Makfile.PL or Build.PL in "home"?

Jeff Chimene jchimene at gmail.com
Mon May 28 22:00:13 GMT 2007


Matt S Trout wrote:
> On Mon, May 28, 2007 at 12:11:54PM -0700, Jeff Chimene wrote:
>   
>> In Catalyst::Utils::home
>> is the following requirement documented anywhere?
>> # only return the dir if it has a Makefile.PL or Build.PL
>> if (-f $home->file("Makefile.PL") or -f $home->file("Build.PL"))
>>     
>
> It's only required if you haven't installed the app - it's how Catalyst tells
> you're still running out of a development directory.
>
>   
What does "installed the app..." mean?

The use case is that I copied all files in the HOME & descendants (but
Makefile.PL and Build.PL) to the production machine. Two hours later, I
figured out why the app wouldn't start. Hence this topic.

Pointers to documentation would be appreciated.

Cheers,
jec

P.S. I originally sent this app to the server via Makefile.PL
constructing a tarball. The disadvantage is that this is a crappy way to
send .PATCH files; which process is how I'd like to move from
development to production in this Brave New World after the initial
deployment. Of course, it turns out that the production machine doesn't
have /usr/bin/patch, but that's another issue.




More information about the Catalyst mailing list