use Carp;
use CGI;
use List::MoreUtils qw/any/;
use Encode qw/decode/;
# Copyright 2009 Chris Cormack and The Koha Dev Team
#
return $data;
}
sub output_prefs {
my $self = shift;
my $vars = shift;
my $template = $self->{ TEMPLATE };
my $data;
$template->process( $self->filename,
$vars, \$data )
|| die "Template process failed: ", $template->error();
return decode('UTF-8',$data);
sub utf8_arrayref {
my $arrayref = shift;
foreach my $element (@$arrayref){
local_currency => $local_currency, # currency code is used, because we do not know how a given currency is formatted.
);
return YAML::Syck::Load( $tab_template->output() );
return YAML::Syck::Load( $tab_template->output_prefs() );
sub _get_chunk {
-