in reply to Multilingual website with HTML::Template and Class::PhraseBook
If you read in your data using XML::Simple it will be represented in almost the exact same structure (depending upon the parameters you set in XML::Simple).$template->param(EMPLOYEE_INFO => [ { name => 'Sam', job => 'pr +ogrammer' }, { name => 'Steve', job => ' +soda jerk' }, ] );
So the answer may be to just use XML::Simple rather than Class::PhraseBook to implement your solution.
Celebrate Intellectual Diversity
|
|---|