pjcj / Devel--Cover

Code coverage metrics for Perl
http://www.pjcj.net/perl.html
93 stars 87 forks source link

fix issue #309 #310

Closed wangvisual closed 1 year ago

wangvisual commented 1 year ago

use a named variable $line instead of $_ $a is a perl internal variable, used for sort() together with $b, so changed it to more meaningful name.

pjcj commented 1 year ago

Thank you very much for finding and fixing this! I don't really have a problem with using $a and $b outside of sort subs but I've taken your PR as-is and it will be in the next release, coming shortly.