I resolved that issue (was missing Role-Tiny)

Now I'm looking for Dancer2 equivalents to the plugin's

Dancer::Plugin::REST;
Dancer::Plugin::Ajax;
Dancer::Plugin::FormattedOutput;

I found

        Dancer2::Plugin::REST

But when I use it I get:

        DEPRECATED: Dancer2::Plugin::REST calls 'dancer_app' instead of 
'$dsl->dancer_app'. at 
/home/app_perf_catalog/mwoodpatrick/mongodb/PORTool/Perl/Dancer2-Plugin-REST-0.09/lib/Dancer2/Plugin/REST.pm
 line 25
 at 
/home/app_perf_catalog/mwoodpatrick/mongodb/PORTool/Perl/Dancer2/lib/Dancer2/Plugin.pm
 line 370

I guess I can try and update these myself but was wondering if anyone had any 
other suggestions

Mark
_____________________________________________
From: Mark Wood-Patrick
Sent: Wednesday, May 01, 2013 5:44 AM
To: [email protected]
Cc: Mark Wood-Patrick
Subject: What versions Moo has Dancer2 been tested with?


What versions Moo has Dancer2 been tested with running the following program

    use Dancer2;
    get '/' => sub {
        "Hello World"
    };
    dance;

I get

Can't locate object method "apply_roles_to_package" via package "Moo::Role" at 
/home/app_perf_catalog/mwoodpatrick/mongodb/PORTool/Perl/Moo-1.001000/lib/Moo/Role.pm
 line 208.
Compilation failed in require at 
/home/app_perf_catalog/mwoodpatrick/mongodb/PORTool/Perl/Dancer2/lib/Dancer2.pm 
line 8.
BEGIN failed--compilation aborted at 
/home/app_perf_catalog/mwoodpatrick/mongodb/PORTool/Perl/Dancer2/lib/Dancer2.pm 
line 8.
Compilation failed in require at simple.pl line 16.
BEGIN failed--compilation aborted at simple.pl line 16.

Mark Wood-Patrick


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to