Summary of the last 2 hours debugging why some messages weren't printed on a CGI: missing the 'print' function.
Yep. That's it. No error message, nothing missing, with or without prototypes to that specific function.
I make a break for a glass of water and when I come back: where's that 'print'?
Tada! Added it and everything was perfect...
I really must get some sleep.
And a massage... my back is hurting a lot this week.