Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 377 Bytes
#/usr/bin/perl
use strict;
use Template;
use lib 'lib/';
my $template = Template->new(
{ INCLUDE_PATH => 'templates',
PLUGIN_BASE => 'Paste::Template::Plugin',
}
);
$template->process(
'test',
{ 'desc' => "perl",
'code' => 'print "foo"; foobar();',
}
) || die $template->error(), "\n";
# vim: syntax=perl sw=4 ts=4 noet shiftround
Something went wrong with that request. Please try again.