# Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl Template-Recall.t' ######################### # change 'tests => 1' to 'tests => last_test_to_print'; use Test::More tests => 1; use lib '../blib/lib'; use Template::Recall; my $tr = Template::Recall->new( template_path => 't/02tmpl.html' ); my $h = { test => 'helowrld' }; # Section names must be '\w+' my $s = $tr->render('section_one', $h ) . $tr->render('section_two', $h ); ok( $s ne '', $s );