Tag Archives: Devel::Cover

Easy access to the HTML Devel::Cover report from Dist::Zilla::App::Command::cover

I love me some Dist::Zilla and Dist::Zilla::App::Command::cover. I wanted an easy way to load the Devel::Cover HTML coverage report. I’ve been using this on my Macbook.

dzil cover | grep ‘coverage.html’ | awk {‘print $5’}  | xargs open

and this on Ubuntu.

dzil cover | grep ‘coverage.html’ | awk {‘print $5’}  | xargs -I{} firefox {} &