<div dir="ltr">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<div><br></div><div>get '/' => \&serve_index;</div><div>sub serve_index {</div><div>}</div><div><br><div><div>then Devel::Cover takes those subs into account.</div><div><br></div><div>Do you know how can I convince Devel::Cover to report properly even with anonymous subs?</div><div><div><br></div><div><br></div><div>Gabor</div><div><br></div>
</div></div></div></div>