in reply to CGI::Application 'No such run mode...'
run-modes should be run_modes. (Note the _underscore_)
HTH..
I spent hours trying to figure this one out.
Thank you jsprat for looking over my shoulder.