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:
ddffceb
)
Fix broken splitpod program
author
Steve Hay
<SteveHay@planit.com>
Mon, 29 Sep 2003 11:50:23 +0000
(12:50 +0100)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 29 Sep 2003 11:14:27 +0000
(11:14 +0000)
Message-ID: <
3F780E6F
.3020704@uk.radan.com>
p4raw-id: //depot/perl@21386
pod/splitpod
patch
|
blob
|
blame
|
history
diff --git
a/pod/splitpod
b/pod/splitpod
index
0e93633
..
ff60ddc
100755
(executable)
--- a/
pod/splitpod
+++ b/
pod/splitpod
@@
-11,14
+11,13
@@
while (<>) {
next unless /^=(?!cut)/ .. /^=cut/;
if (/=item (\S+)/ and $1 ne '*') {
+ my $item = $1;
s/=item //;
- #$cur = "POSIX::" . $1;
- $next{$cur} = $1;
- $cur = $1;
+ $next{$cur} = $item;
+ $cur = $item;
$syn{$cur} .= $_;
next;
} else {
- #s,L</,L<POSIX/,g;
s,L</,L<perlfunc/,g;
push @{$pod{$cur}}, $_ if $cur;
}