|Don't ask to ask, just ask|
Re: Language or string templates?by Prior Nacre V (Hermit)
|on Oct 02, 2004 at 04:12 UTC||Need Help??|
Here's a fairly straightforward solution framework that may be suitable for your application.
Create a text/language file with this format:
Then in your main code, slurp in the whole file and create a hash which can then be used when required.
Update: Sorry, I had two solutions in my head - I posted half of each. I've added two lines to the main code replacing:my %globals = ( @global_data );
Apologies for any confusion.