On 9/1/20 23:21, Dan Book wrote:
Placeholder syntax was changed from parentheses to chevrons <> in 7.75. I will add this to https://github.com/mojolicious/mojo/wiki/UpgradingĀ once I figure out when the old syntax was actually removed.


I too stumbled upon this and I did this to keep the old behaviour:

my $routes = app->routes->children;
for my $route (@$routes){
    $route->pattern->quote_start('(');
    $route->pattern->quote_end(')');
    $route->pattern->parse($route->pattern->unparsed);
}

--
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojolicious/bf1a2906-969b-87f6-5f92-3a19ce8eaf5e%40telecos.upc.edu.

Reply via email to