in reply to help me in template toolkit module.

it printing empty.

I'd be surprised if setting $template::Stash::PRIVATE even to true value would print anything. First of all it should be $Template::Stash::PRIVATE, but you don't need it anyway. You need process method, try it like this:

$tt->process(\*DATA) || die $tt->error(), "\n";
Note this $tt->error(), it will tell you what's wrong.

Replies are listed 'Best First'.
Re^2: help me in template toolkit module.
by veerubiji (Sexton) on Oct 27, 2011 at 16:02 UTC

    yes ,your right I modified and I solved all problem but I am struggling with above problem can you help .