diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-05-26 12:48:05 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-05-26 12:49:57 -0600 |
commit | c1dcaaab2adb87f419a2e44e36f9510725a1a69d (patch) | |
tree | 74f2ecae9aec38d4a454045572567096d95a2bbf | |
parent | 763df156d70eeaa6b38659f32edf5126390c6c9b (diff) | |
download | perl-c1dcaaab2adb87f419a2e44e36f9510725a1a69d.tar.gz |
podcheck.t: Add comment, explicit return
-rw-r--r-- | t/porting/podcheck.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/porting/podcheck.t b/t/porting/podcheck.t index fde9a4b20b..2a7c87b88e 100644 --- a/t/porting/podcheck.t +++ b/t/porting/podcheck.t @@ -939,6 +939,8 @@ sub extract_pod { # Extracts just the pod from a file my $digest = Digest->new($digest_type); sub is_pod_file { + # If $_ is a pod file, add it to the lists and do other prep work. + if (-d $_) { # Don't look at files in directories that are for tests, nor those # beginning with a dot @@ -1037,6 +1039,8 @@ sub is_pod_file { } } } + + return; } # End of is_pod_file() # Start of real code that isn't processing the command line. |