in reply to Mojolicious url rewriting
I don't use newfangled web frameworks much, but it seems you're defining that anon sub handler wrong, but that might also be a mojo idiom. Usually you'd call a param (or something like that) on the place holder, like :id, inside the sub.