Thanks you for your answers!

On 3/6/06, Sam Tregar <sam@tregar.com> wrote:
On Sun, 5 Mar 2006, Matias Alejo Garcia wrote:
> Is there any way to, once the $template is filled, to dump the variables to
> a file?
Sure.  The full parameter set is available via param():
    my %data = map { ($_, $template->param($_) } $template->param();
You can dump that hash to a file with Storable or Data::Dumper, just
like any other Perl file.

Great! Thanks! That was what I was looking for!

Alterantely, you can use Storable on the HTML::Template object itself.
This is guaranteed to work since this is how HTML::Template implements
file_cache mode.

with this solution the template itself will be stored (I mean, not only the parameters), ok?

 Thanks!
matías
--
Matías Alejo García     | http://www.nits.com.ar