This Perl error has cost me a few hours of my life and is a nice example of trying to find an answer to a given problem in the internet without ever being successful. This investigation has made me read a lot of things I probably never wanted to know ( e.g. about utf8 encoding in Perl ) until I finally figured out the cause of my problem myself.
This error was caused by a simple syntax error and incorrectly coding access to an element in a hash. May be there is not such a thing like a “simple syntax” error in a powerful language like Perl, since even stupid code can have some meaning.
Anyhow, I was writing something like
Note the round brackets vs. the curly brackets !
So, if anyone every bumps into the very same strange error because of this syntax fault he or she hopefully finds my blog posting here pretty soon to fix this without wasting too much time.