Static::Simple 0.06 (Re: [Catalyst] Sessions, Auth::CDBI, and static files)

David Storrs dstorrs at dstorrs.com
Tue Sep 6 16:56:22 CEST 2005


On Sep 5, 2005, at 5:44 PM, Thomas L. Shinnick wrote:

[Static::Simple loads statics with / without auth, depending on  
positioning Catalyst use line]
> I wonder if this is not worthy of a note on the Wiki?
>
> Thanks again!
> Tom  (shenme on irc #catalyst)


Very, very definitely!

As useful a feature as this is, it's a subtle and hard to find bug as  
well.  We'd best document it.

Even better would be a way to specify what you wanted explicitly, in  
a self documenting fashion, e.g.:

use Catalyst qw/a big list of plugins and other stuff goes here/;
use Catalyst::Plugin::Static::Simple qw /no_auth/;        or
use Catalyst::Plugin::Static::Simple qw /with_auth/;

--Dks



More information about the Catalyst mailing list