in reply to Re^3: Perl project lines of code "analyzer"
in thread Perl project lines of code "analyzer"
find {wanted=>sub { my $fname = $_; if (-f $fname) { foreach my $type (qw(pl pm)) { my (undef, $ext) = split (/\./, $fname); if (defined($ext) && $ext eq $type) { push(@files, $File::Find::name); } } } }, preprocess=>sub {return grep{!/^.svn|CVS$/}@_}}, $dir;
|
|---|