[Catalyst] Plugin conflict?

Matt S Trout dbix-class at trout.me.uk
Thu May 31 17:57:27 GMT 2007


On Thu, May 31, 2007 at 12:14:58PM -0400, Jim Spath wrote:
> Compress::Deflate and Static::Simple seem to conflict with each other. 
> The result of this is that CSS files don't get served properly.

Compress::* are deprecated; let your webserver do that.

Consider CPANPLUS::Dist::Deb as an alternative to dh-make-perl or try

http://debian.pkgs.cpan.org/

> PS - On a side note, is it possible to change which plugins are loaded 
> depending on whether Catalyst is launched from myapp_server.pl or 
> myapp_fastcgi.pl?  This would be helpful...

in MyApp.pm

sub setup_plugins {
  my ($class, $plugins_arrayref) = @_;
  <do something based on $class->engine>
  $class->next::method($plugins_arrayref);
}

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list