http://www.perlmonks.org?node_id=960595

slatibart has asked for the wisdom of the Perl Monks concerning the following question:

This code should be the usual hello world example. Binds to its own port. But that doesn't work on a shared hosting machine. What do I need to change so that it uses Apaches CGI or plack ? I'm just overwhelmed by documentation and don't find an answer easily.
use Dancer;

use Plack::Server::CGI;

get '/' => sub {
      return 'Hello World!';
};

start;