This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa79d3
)
sort @files once, outside the loop.
author
Nicholas Clark
<nick@ccl4.org>
Tue, 6 Oct 2009 14:58:31 +0000
(16:58 +0200)
committer
Nicholas Clark
<nick@ccl4.org>
Tue, 6 Oct 2009 14:58:31 +0000
(16:58 +0200)
t/porting/podcheck.t
patch
|
blob
|
blame
|
history
diff --git
a/t/porting/podcheck.t
b/t/porting/podcheck.t
index
4dde790
..
c999caa
100644
(file)
--- a/
t/porting/podcheck.t
+++ b/
t/porting/podcheck.t
@@
-49,8
+49,8
@@
while (<$m>) {
next if $file =~ /^cpan\//;
next unless ($file =~ /\.(?:pm|pod|pl)$/);
push @files, $file;
- @files = sort @files; # so we get consistent results
};
+@files = sort @files; # so we get consistent results
sub pod_ok {
my ($filename) = @_;