Subject: | Strange skip-conditions |
The while loop at starting at line 72 [1] has some rather weird
skip-conditions:
- It will not flag tabs in comments
- It will skip POD-delineated stuff (why?)
- It will not check for tabs in an __END__ section (where POD full of
tabs may reside)
- It considers '^ __DATA__' a proper "datastart" section (it isn't)
Any reason we can't strip all of these away? The only thing that must
remain is /^__DATA__$.+?(\z|^__END__$)/ms because there is a very good
chance a data section must contain tabs.
[1]
https://metacpan.org/source/BOBTFISH/Test-NoTabs-1.3/lib/Test/NoTabs.pm#L72