[Catalyst] modperl 1.3 wierdness

Matt S Trout dbix-class at trout.me.uk
Sat May 3 23:22:49 BST 2008


On Mon, Apr 28, 2008 at 11:30:53AM +1000, Toby Corkindale wrote:
> Unfortunately due to somewhat unusual app deployment tactics here, apps get
> "installed" manually, into their own little area, along with their required
> perl dependencies, thus losing the Makefile.PL, but also requiring that the
> config file lived in the same non-standard location.

How about using

__PACKAGE__->config(
  'Plugin::ConfigLoader' => {
    file => __PACKAGE__->path_to(...)
  }
);

or setting an environment variable?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list