Check the list of routes with Mojolicious::Lite

As the definition of route increases, it becomes difficult to see what kind of route exists. You can use the "routes" command to see what routes exist at such times.

perl routes

Then you can see the list of routes as follows.

/ (?-xism: ^ (?: /)?)
/ hello /: date (?-xism: ^ / hello / ([^ \ / \.] +))

Associated Information