App-PM-Website

 view release on metacpan or  search on metacpan

lib/App/PM/Website/Command/Build.pm  view on Meta::CPAN


    my $template_options = {
        INCLUDE_PATH => './',
        INTERPOLATE  => 1,
    };
    my $tt = Template->new( {} )
        || die "$Template::ERROR\n";

    my @opts = (
        @$tt_options{ qw( template_file tt_vars output_file ) },
        ( binmode => ':utf8' )
    );

    use Data::Dumper;
    print Dumper { tt_process => \@opts }
        if $opt->{verbose};

    my $success = 1;
    unless ($opt->{dry_run} )
    {
        $success = $tt->process( @opts )



( run in 1.179 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )