Hi,
On 29.12.2020 20:52, Bernhard Bitsch wrote:
...
First just an excuse. I wrote 'hash tag' without thinking thoroughly about the term. ;) I meant 'hash key'. If this key consists of just one word ( no spaces ) it is sufficient just to use this word as key. Your example uses a string with spaces, thus you must "stringify" the key.
Ok, got it.
But at the risk of sounding silly: I still got translation and designation(?) problems, sorry.
Hash tag = '$Lang::tr{'update'}'!?
Stringifying = ???
See above. In case of translation hash %Lang::tr many keys are composed of several words, requesting the string representation 'this is a key'. The example value = '$Lang::tr{'update'}' could also read value = '$Lang::tr{"update"}' not using the same delimiters for the string update. Remember, a regex automaton usually doesn't count, thus it cannot distinguish start and end delimeters. The second ' is treated as the end of the string.
Hope, this makes my suggestion a bit clearer.
Yep. Thanks a lot. ;-)
I hope I can remember this next time...
Best, Matthias
P.S.: I know, why I have specialized on hardware - software is more complicated. ;-)