[dancer-users] Devel::Cover and Dancer

Gabor Szabo gabor at szabgab.com
Tue Mar 17 09:25:53 GMT 2015

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150317/1cf9943d/attachment.html>

More information about the dancer-users mailing list