Subject: | Author information in Makefile.PL |
Cc: | gbarr [...] pobox.com |
If you add the following lines to your call to WriteMakefile() it makes
it easier for packaging software like cpan2rpm to get things right:
$] < 5.005 ? () : (
AUTHOR => 'Graham Barr <gbarr@pobox.com>',
ABSTRACT_FROM => "IO.pm",
),
so your call will look like this:
WriteMakefile(
VERSION_FROM => "IO.pm",
NAME => "IO",
OBJECT => '$(O_FILES)',
DEFINE => $define,
$] < 5.005 ? () : (
AUTHOR => 'Graham Barr <gbarr@pobox.com>',
ABSTRACT_FROM => "IO.pm",
),
'dist' => {COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
DIST_DEFAULT => 'tardist',
},
'clean' => {FILES => join(" ",
map { "$_ */$_ */*/$_" }
qw(*% *.html *.b[ac]k *.old *.orig))
},
'macro' => { INSTALLDIRS => 'perl' },
);