Filewatcher File Search File Search
Catalog
Content Search
» » » » » Sledge-Template-Xslate-0.06.tar.gz » Content »
pkg://Sledge-Template-Xslate-0.06.tar.gz:23644/Sledge-Template-Xslate-0.06/inc/Module/Install/  info  downloads

ReadmePodFromPod.pm

#line 1
package Module::Install::ReadmePodFromPod;
use strict;
use warnings;
use base qw(Module::Install::Base);
use vars qw($VERSION);

$VERSION = '0.01';

sub readme_pod_from {
  my $self = shift;
  return unless $Module::Install::AUTHOR;
  my $file = shift || return;

  require Pod::Perldoc::ToPod;
  open my $out, '>', 'README.pod' or die "can not create README.pod file: $!";
  my $parser = Pod::Perldoc::ToPod->new;
  $parser->parse_from_file($file, $out);
  return 1;
}

'let README.pod render Pod as ... Pod!';
__END__

#line 75
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com