Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for off-by-one error in codeline() - issue #16 #17
This fixes the error reported in issue #16 whereby two of the tests of codeline() were failing due to it returning an empty string. After applying this patch all tests pass for me. (Note that dzil bumped the version number in Makefile.PL but that I have not included that in this PR as it's up to you when to bump the version).
This work has been done as part of the CPAN Pull Request Challenge - thanks for taking part.