<< Previous Contents Next >>

Dynamic Mock Example: Recording/usage phase

my $repos = OpenInteract2::Repository->new(
                { website_dir => $website_dir });
$repos->add_package( $mock_pkg ); # calls 0-5...
my $found = $repos->find_file(
                'oi2testing', 'template/testing.tmpl' );