Well, the two solutions worked just fine if you use the diamond operator
and i've just dig a few lines of code in the HTML::Template and found that the above i've posted worked fine also, seems that it's a bug on the module that dosen't handle filehandlers properly (i've run a quick test).
But thanks anyway, for the brief answers :=)
I'll let the author know that and maybe try to fix-it if i got spare time.
Cheers
Filipe