aboutsummaryrefslogtreecommitdiffstats
path: root/perl.prov
diff options
context:
space:
mode:
Diffstat (limited to 'perl.prov')
-rwxr-xr-xperl.prov2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.prov b/perl.prov
index 6b6774a..68ff2c8 100755
--- a/perl.prov
+++ b/perl.prov
@@ -47,6 +47,7 @@
if ("@ARGV") {
foreach (@ARGV) {
+ next if !/\.pm$/;
process_file($_);
}
} else {
@@ -56,6 +57,7 @@ if ("@ARGV") {
foreach (<>) {
chomp $_;
+ next if !/\.pm$/;
process_file($_) if -f $_;
}
}