X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fpodselect.PL;h=138e07614651e9625eaecb980c2389511448b99a;hb=1bf2966364b6356e9050b17d8920dd4a8ce27d97;hp=7f728303ea8e577c4c9507b0df12f6dc2b440053;hpb=63185205024cdb3db3e7cc7c1dca46392d19cba1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/podselect.PL b/pod/podselect.PL index 7f72830..138e076 100644 --- a/pod/podselect.PL +++ b/pod/podselect.PL @@ -15,9 +15,8 @@ use Cwd; # This is so that make depend always knows where to find PL derivatives. $origdir = cwd; chdir(dirname($0)); -($file = basename($0)) =~ s/\.PL$//; -$file =~ s/\.pl$// if ($^O eq 'os2' or $^O eq 'dos'); # "case-forgiving" -$file =~ s/\.pl$/.com/ if ($^O eq 'VMS'); # "case-forgiving" +$file = basename($0, '.PL'); +$file .= '.com' if $^O eq 'VMS'; open OUT,">$file" or die "Can't create $file: $!"; @@ -72,7 +71,7 @@ Print the manual page and exit. =item B<-section>S< >I Specify a section to include in the output. -See L +See L for the format to use for I. This option may be given multiple times on the command line. @@ -99,6 +98,8 @@ L and L =head1 AUTHOR +Please report bugs using L. + Brad Appleton Ebradapp@enteract.comE Based on code for B written by