X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fsplitpod;h=fd38e51acf88aa23256de80b626c8249316f920d;hb=a3dfe201291c96fc01babd3d4782d52ba945f2a3;hp=fd327d80da5f0371b9ae431c044d5ea6358413c5;hpb=c07a80fdfe3926b5eb0585b674aa5d1f57b32ade;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/splitpod b/pod/splitpod index fd327d8..fd38e51 100755 --- a/pod/splitpod +++ b/pod/splitpod @@ -1,6 +1,7 @@ #!/usr/bin/perl -use PerlDoc::Functions; +use lib '../lib'; # If you haven't installed perl yet. +use Pod::Functions; local $/ = ''; @@ -11,21 +12,33 @@ while (<>) { if (s/=item (\S+)/$1/) { #$cur = "POSIX::" . $1; + $next{$cur} = $1; $cur = $1; $syn{$cur} .= $_; next; } else { #s,L $name.pod") || die "can't open $name.pod: $!"; print POD <