in reply to Re^3: cgi and own modules causing unspecified error
in thread cgi and own modules causing unspecified error

adding the line  use "Hello" leads again to the error " The page cannot be displayed because an internal server error has occurred."

Replies are listed 'Best First'.
Re^5: cgi and own modules causing unspecified error
by marto (Cardinal) on Jun 08, 2017 at 14:54 UTC

    You need to start looking at the error log of the webserver, if you're using CGI consider CGI::Carp. If you are starting from scratch I suggest looking at Mojolicious::Lite rather than CGI, see the documentation of the latter for some reasons why.