1use ExtUtils::MakeMaker; 2# See lib/ExtUtils/MakeMaker.pm for details of how to influence 3# the contents of the Makefile that is written. 4WriteMakefile( 5 'NAME' => 'HTML::LinkExtractor', 6 'VERSION_FROM' => 'LinkExtractor.pm', # finds $VERSION 7 8 PREREQ_PM => { 9# 'HTML::TokeParser::Simple' => '2', # or a minimum workable version 10 'HTML::TokeParser' => 0, 11 }, 12 13 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 14 (ABSTRACT_FROM => 'LinkExtractor.pm', # retrieve abstract from module 15 AUTHOR => 'PodMaster') : ()), 16); 17 18__END__ 19perl Makefile.PL && nmake realclean && cls && perl Makefile.PL && nmake disttest 20nmake dist TAR=ptar TARFLAGS=-zcvf COMPRESS=echo 21perl -e"my $f=glob q,*.tar,;warn rename $f, qq,$f.gz," 22chmod 7777 *.gz 23perl -le" `cpan-upload $_` for( (sort glob q,*.gz,)[-1]) " 24