Everything works for me with the latest Catalyst, Moose and CMOP:
rkitover@hlagh ~/src/catalyst/acl % prove -l t
t/01use.t .......... ok
t/02pod.t .......... ok
t/03podcoverage.t .. ok
t/live_app.t ....... [warn] Action methods (restricted, default, access_denied, end) found defined in your application class, ACLTestApp. This is deprecated, please move them into a Root controller.
Class Catalyst::Plugin::Authorization::ACL::Engine is calling the deprecated method
Catalyst::Dispatcher::tree,
this will be removed in Catalyst 5.9X
t/live_app.t ....... ok
t/more_live_app.t .. [warn] Action methods (foo, bar, gorch, end, access_denied) found defined in your application class, ACLTestApp2. This is deprecated, please move them into a Root controller.
Class Catalyst::Plugin::Authorization::ACL::Engine is calling the deprecated method
Catalyst::Dispatcher::tree,
this will be removed in Catalyst 5.9X
t/more_live_app.t .. ok
All tests successful.
Files=5, Tests=116, 10 wallclock secs ( 0.20 usr 0.03 sys + 8.98 cusr 0.45 csys = 9.66 CPU)
Result: PASS
rkitover@hlagh ~/src/catalyst/acl % perl -I lib -MCatalyst::Plugin::Authorization::ACL::Engine='$DENIED,$ALLOWED' -le 'print $DENIED; print $ALLOWED'
Catalyst::Plugin::Authorization::ACL::Engine::Denied=HASH(0x86d7708)
Catalyst::Plugin::Authorization::ACL::Engine::Allowed=HASH(0x878ae20)
rkitover@hlagh ~/src/catalyst/acl % perl -MMoose\ 999
Moose version 999 required--this is only version 0.91.
BEGIN failed--compilation aborted.
rkitover@hlagh ~/src/catalyst/acl % perl -MCatalyst\ 999
Catalyst version 999 required--this is only version 5.80013.
BEGIN failed--compilation aborted.
On Fri, Sep 18, 2009 at 09:01:20AM -0400, Felix Antonius Wilhelm Ostmann via RT wrote:
Show quoted text> Queue: Catalyst-Plugin-Authorization-ACL
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=49813 >
>
> ok, this is currently not working i think.
> use Catalyst::Plugin::Authorization::ACL::Engine qw/$DENIED $ALLOWED/;
>
>
> On Fr. 18. Sep. 2009, 08:59:27, Sadrak wrote:
> > t/live_app.t ....... Could not load class (ACLTestApp) because : Global
> > symbol "$ALLOWED" requires explicit package name at t/lib/ACLTestApp.pm
> > line 90.
> >
> > Global symbol "$DENIED" requires explicit package name at
> > t/lib/ACLTestApp.pm line 90.
> >
> >
> >
> > i think there was a exportet $ALLOWED and $DENIED in 5.7 that has now
> > gone?! only the test will fail, the module "should" work.
>
>