Perl hackers are like “do what thou wilt is the whole of the law.”
Mix those tabs and spaces, brave knights.
The answer is very Perl.
The author does count only tabs or spaces in the beginning of lines. I wonder if the results change at all if we allow an error margin when a file has both? That is, if a file has 95% tabs and 5% spaces, we’ll count it as having tabs?
I have seen lots of software projects that use almost exclusively tabs or spaces, but by some accident one or two of the wrong type of indentation character slips in and the devs either don’t notice or don’t care. I personally, don’t really consider that to be a mixture of tabs and spaces.
Meta: the style for this site seems to be missing a size rule for certain window widths, and a horizontal scrollbar - rendering it unreadable by default for me.