in reply to Pushing Filename parts into an array

You should probably have a hash with the language codes as keys and the flag for each language as the value. Your array would then just contain the codes. When you wanted to display what languages were available, you would loop through the array and use the hash to find the flag for each language.
  • Comment on Re: Pushing Filename parts into an array