in reply to Re^6: Perl project lines of code "analyzer"
in thread Perl project lines of code "analyzer"

Hmmm... While you're technically correct, I would view anyone who wrote code like that to be... well, psychotic. ;-)

At any rate, here's the fix. Replace:

# Count POD if ($line =~ /^=/) { pod++;
with
# Count POD if ($line =~ /^=[a-z]/) { $pod++;

Remember: There's always one more bug.