|Keep It Simple, Stupid|
Re^6: How do I pretend a reference isn't a referenceby clinton (Priest)
|on Nov 06, 2008 at 11:52 UTC||Need Help??|
Well, my original example was defining the array @days at compile time, because that's going to be more efficient than:
To give another example, I have about 3,000 lines of YAML config data, which gets loaded into a hash during initialisation. Some of that data will contain strings-to-be-translated, eg:
During init, I check all the scalar values in the config hash and, if they match the _('...') form, then I bless them into i18n::String. Doing this with tie wouldn't be feasible.