When last time I ran the tests of my Dancer2 based app through Devel::Cover it did not provide any report for the routes. If I use names subroutines and set them as
get '/' => \&serve_index;
sub serve_index {
}
then Devel::Cover takes those subs into account.
Do you know how can I convince Devel::Cover to report properly even with anonymous subs?