[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#580533: ITP: libtest-notabs-perl -- module for scanning for hard tabs in files



Yves-Alexis Perez <corsac@debian.org> writes:
> On jeu., 2010-05-06 at 12:26 -0400, Jonathan Yu wrote:

>> Test::NoTabs is a Perl test module that scans your project/distribution
>> for any Perl files (scripts, modules, etc) that contain hard tabs (the
>> \t, or 0x09) character. Tabs can render with slightly different width
>> depending on the author's environment, so it's best to use spaces
>> instead.

> Do we really need a perl module for that?

Well, it would be better to integrate the test in with something else,
ideally, but I saw the ITP and thought "hm, that might be useful to start
using with all my Perl projects."  Checking a file for lack of tabs is
relatively easy, but locating all the Perl stuff in a source tree is a bit
trickier, and rolling those two things together so that one can write a
one- or two-line test is fairly useful.

It would be nice if that, Test::Pod, Test::Fixme, Test::Synopsis,
Test::MinimumVersion, and piles of other similar modules could be rolled
together into one distribution.  But that's really an upstream problem.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: