#! /usr/bin/env perl
# pod2html creates complete pages, but we want embeddable ones.
# Fortunately, it's easy to find the stuff that need to go away.
use strict;
use warnings;
local $/; # Slurp the whole file
my $contents = ;
$contents =~ m@^NAME
@m;
$contents = $&.$'; # Everything before NAME is stripped
$contents =~ m@^