in reply to Install CGI::Application

Do yourself a favor. Install local::lib, App::cpanminus, then use cpanm to install Dancer2.

You will have maximum control of your local deployment and can scale from there. CGI::Application is good for an environment where you're bound to the Apache stack, but if you're not (i.e., local development), Dancer2 is the way to go.