[Catalyst] Testing $c->stash

Rob Kinyon rob.kinyon at gmail.com
Tue Jun 21 17:11:47 CEST 2005


On 6/21/05, taulmarill <taulmarill at xgn.de> wrote:
> On Tue, 21 Jun 2005 10:46:18 -0400, Rob Kinyon wrote
> > Also, is there an easy way for myapp_server.pl to serve up .js and
> > .css files without my having to modify my source? I'd like to have
> > the same source work with both Apache and myapp_server.pl.
> 
> you can use Catalyst::Plugin::Static to serve static files that are in your
> config->{root}.

Can I do that from within myapp_server.pl without having to add Static
to my "use Catalyst" line? I don't want to modify the app source code,
but instead only want to keep the change needed for myapp_server.pl
within myapp_server.pl.

Thanks,
Rob



More information about the Catalyst mailing list