I'm writing a web app with the Dancer framework and I'd like to offer each user a subdomain, like wordpress.com does.
How can I specify my Dancer routes to take account of the domain name?
Look at how https://github.com/sukria/ThisShit is implemented