Created
December 18, 2013 15:04
-
-
Save wchristian/8023790 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strictures; | |
use lib 'lib'; | |
use PPI; | |
use File::Find::Rule; | |
use 5.010; | |
$|++; | |
my @files = File::Find::Rule->file->name( '*.pm' )->in( "c:/Perl" ); | |
say "found ".@files." files"; | |
for my $file (@files) { | |
PPI::Document->new( $file ); | |
print '.'; | |
print "\n$file\n" if PPI::Document->errstr =~ /meep/; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment