For any web application one of the critical questions is how the various URLs are handled? Are they mapped to subroutines in a single file, like in Dancer, or are they mapped to subroutines in modules as it is done in Catalyst.

As PSGI is the low level building block for any modern web application in Perl, you can write your own routing. In this article we'll see a simple case of routing.