sub HTML_Something { my $t = shift; return < $t->{key} END } #### sub HTML_Something { my $t = shift; my $d = new Number::Format (-thousands_sep => ',', -decimal_point => '.', -decimal_fill => 2); return < $d->format_number($t->{key}) END } #### sub HTML_Something { my $t = shift; my $d = new Number::Format (-thousands_sep => ',', -decimal_point => '.', -decimal_fill => 2); $t->{key} = $d->format_number($t->{key}); return < $t->{key} END }