From: Steve Hay Date: Mon, 29 Sep 2003 11:50:23 +0000 (+0100) Subject: Fix broken splitpod program X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=279b5f1a612874b608bbd09f6635e256c67090a7;p=p5sagit%2Fp5-mst-13.2.git Fix broken splitpod program Message-ID: <3F780E6F.3020704@uk.radan.com> p4raw-id: //depot/perl@21386 --- diff --git a/pod/splitpod b/pod/splitpod index 0e93633..ff60ddc 100755 --- 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