in reply to Selecting CGI::Application with jQuery AJAX

Maybe my experience with (or my use of) CGI::Application is different from yours, but for me, a typical url for executing "run_mode_x" via CGI::Application starts like this:
"someurl.pl/run_mode_x$params"
where $params is either an empty string or else something like:
"?param1=value1(&...)"
depending on whether or not the request needs to pass any parameter(s) to the chosen run_mode.