Hi,
I have a glossary file containing localizied versions of different words;
e.g.
%current = ( eng => 'Current', ca => 'Courant', de => 'Zur Zeit verfuegbar', fr => "Actuellement", br => 'Atualmente', ar => 'Actual', cl => 'Actual', co => 'Actual', mx => 'Actual', ve => 'Actual', es => 'Actual', ); %or = ( eng => 'or', es => 'o', ar => 'o', cl => 'o', co => 'o', mx => 'o', ve => 'o', br => 'ou', it => 'o', pl => 'lub', );
So $current{"de"} gives you the German representation of the word "current"
I'm looking to create a webpage with a large table showing hash names in the first column then all other columns listing the translated (localizied) version for each country (I have country codes in a seperate hash that I can cycle through)
The Question..
Is there a module or a simple way of listing all the hashes in the file glossary.pl? I would ideally like this information in an array or hash names eg..
@hashNames = [ "current", "or", "the", "revised" ]
Any nice module to parse the file for me?
Thanks people
M
In reply to Passing hash names in a file by heezy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |