A while back on the CGI::Application list there was talk of a
CGI::Application::Plugin::REST module (see also
RFC: CGI::Application::Plugin::REST). I don't know what became of it, but it would be nice if your work could result in some sort of C::A plugin. However, until either CGI or CGI::Simple are patched, it may not be possible.