Subject: | GTop Documentation Not Displaying Properly on search.cpan.org |
Viewing main page of docs on search.cpan.org with Safari. When I click on the GTop link under Modules, I am taken to a page with this title: http://search.cpan.org/~stas/GTop-0.14/Makefile.PL. The page display is very curious: Code from somewhere inside the module or Makefile.PL is mixed in with the POD. For example, the AUTHOR section reads as follows:
AUTHOR
Doug MacEachern wrote the original version.
Currently it's maintained by Stas Bekman <stas@stason.org>.
EOF
print TEST <<EOF; ok 1; # XXX: need to do some real testing
EOF
close TYPEMAP; close BOOTINC; close BOOTXS; close XS; close POD; close TEST;
my @insure = (); if (0) { @insure = ( OPTIMIZE => '-g', CC => 'insure gcc', LD => 'insure gcc', ); }
require "./config.pl"; # as we may need prevent the loading of this helper lib from Server/Makefile.PL #$ENV{GTOP_BUILD} = 0; my($inc, $libs, $defines) = get_glibtop_config();
if (DEBUG) { warn "Using INC: $inc\n"; warn "Using LIBS: $libs\n"; warn "Using DEFINE: $defines\n"; }
WriteMakefile( @insure, NAME => 'GTop', VERSION_FROM => 'lib/GTop.pm', INC => $inc, LIBS => [$libs], DEFINE => $defines, TYPEMAPS => [qw(typemap.gtop typemap)], PREREQ_PM => \%prereq, clean => { FILES => "@{[<*.boot>, <*.gtop>]}", }, 'macro' => { CVSROOT => 'modperl.com:/local/cvs_repository', }, );
sub MY::postamble { return <<'EOF';
cvs_tag : cvs -d $(CVSROOT) tag v$(VERSION_SYM) . @echo update GTop.pm VERSION now EOF }