Skip to content

Instantly share code, notes, and snippets.

@sshaw sshaw/Makefile.PL
Created Mar 27, 2011

What would you like to do?
Makefile.PL postamble() - Create README.pod for Perl packages uploaded to GitHub
# Create README.pod for a repo's GitHub page. Unlike CPAN, GitHub won't
# display the module's POD, it looks for a README.*
use Config;
sub MY::postamble
my $self = shift;
return if -r 'README' or ! -r $self->{VERSION_FROM};
\@$Config{bin}/perldoc -uT $self->{VERSION_FROM} > README.pod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.