use Test::More; use lib 'lib'; use helper; BEGIN { use_ok( 'SugarTrail::Template::CondBlock' ); } require_ok( 'SugarTrail::Template::CondBlock' ); my $cb = SugarTrail::Template::CondBlock->init(); ok($cb, "cb is true"); $cb->parse('os=@w7a,wxx;proto==imap;ver>=2012;'); &helper::dmupp(cb=>$cb); done_testing();