#!/usr/bin/perl

use strict;
use warnings;
use Pod::Advent;

my $pod = shift @ARGV or die "need pod filename";

my $advent = Pod::Advent->new;
$advent->parse_file( $pod );

__END__

=pod

=head1 NAME

pod2advent - create Perl Advent Calendar html from POD file

=head1 SYNOPSIS

  pod2advent entry.pod > entry.html

=head1 DESCRIPTION

Simple command-line wrapper for L<Pod::Advent>.

=cut
