Skip to content

Instantly share code, notes, and snippets.

@hankache
Created July 9, 2016 15:03
Show Gist options
  • Save hankache/f5319b907564887a60c4a3a6dd26802c to your computer and use it in GitHub Desktop.
Save hankache/f5319b907564887a60c4a3a6dd26802c to your computer and use it in GitHub Desktop.
use Pod::To::HTML;
my $doc = slurp 'test.pod6';
my $head = slurp 'head.html';
my $footer = slurp 'footer.html';
my $html = Pod::To::HTML.render($doc);
spurt 'test.html', $html;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment