Thanks you for your answers!

On 3/6/06, Sam Tregar <> 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?

Matías Alejo García     |