in reply to Re: Re: Text::Template=>How to fill in with more than one time?
in thread Text::Template=>How to fill in with more than one time?

Oh, now I understand: you want to call it more than once but have the variables from the first call still be there, right? I thought you just wanted to produce multiple different results without loading the template again.

I don't understand why you would want to do that, but the answer is no, you can't. Instead, you should collect all the values for a single run of the template before you call fill_in. Is there a reason you are avoiding that?

  • Comment on Re: Re: Re: Text::Template=>How to fill in with more than one time?