in reply to Plack and multiple domains
Seems like a short rule for Plack::Middleware::Conditional; look at $env->{HTTP_HOST} and dispatch by that.
Improve your skills with Modern Perl: the free book.