X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fsplitpod;h=0e936337e3c6353f0433fa51f02452a232568b04;hb=593b9c1462e1fc8a2425e215f64b2197e1bfb796;hp=889dfa215aa59f3b5699816ffe962bef6dff6800;hpb=3e3baf6d63945cb64e829d6e5c70a7d00f3d3d03;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/splitpod b/pod/splitpod index 889dfa2..0e93633 100755 --- a/pod/splitpod +++ b/pod/splitpod @@ -10,25 +10,32 @@ while (<>) { next unless /^=(?!cut)/ .. /^=cut/; - if (s/=item (\S+)/$1/) { + if (/=item (\S+)/ and $1 ne '*') { + s/=item //; #$cur = "POSIX::" . $1; + $next{$cur} = $1; $cur = $1; $syn{$cur} .= $_; next; } else { #s,L