[Catalyst] catalyst.pl-generated installer installs MyApp/root in same dir as MyApp/lib/*?

Robert Buels rmb32 at cornell.edu
Tue Jun 9 00:49:32 GMT 2009


The Module::Install code generated by catalyst.pl puts MyApp/root into 
blib/lib/MyApp/root, right alongside all the things from MyApp/lib.  Is 
this actually the Right Thing to do?  Seems fishy to put the templates 
and images and such in the same place as the perl modules.

In the pod for File::ShareDir (which I perused after reading on dhoss's 
blog about where he's thinking of putting the helper templates), I read 
that static data for modules are supposed to go in the module's 'auto' 
directory.  Link: 
http://search.cpan.org/~adamk/File-ShareDir-1.00/lib/File/ShareDir.pm

So, if I understand rightly, shouldn't the MyApp/root be going into 
blib/auto/MyApp/root instead of blib/MyApp/root ?

Rob




More information about the Catalyst mailing list