diff options
-rwxr-xr-x | perl.prov | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 $_; } } |