The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use warnings;
use strict;
use Test::More;

plan tests => 2;

use Text::MiniTmpl;

our $TMPL_PKG;


package _qwe;
use Text::MiniTmpl qw( render );
Text::MiniTmpl::render('t/tmpl/include_caller.txt');
Test::More::is $::TMPL_PKG, '_qwe',     'render include_caller from _qwe';

package _asd;
use Text::MiniTmpl qw( render );
Text::MiniTmpl::render('t/tmpl/include_caller_2.txt');
Test::More::is $::TMPL_PKG, '_asd',     'render include_caller_2 from _asd';