On Thu, May 24, 2007 at 02:36:34PM +0800, 张淼 wrote:
> __PACAKGE__->deny_access_unless( "/foo/bar", [qw/admin user/] );
>
> The "user" can't access /foo/bar.
> What's the matter with it?
That fragment of code isn't nearly enough for us to help, could you give
us an idea of how your app's set up please?
Perhaps its the misspelling of __PACKAGE__
Be sure to always have these two lines near the top of your modules:
use strict;
use warnings;
Jay
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/