Argh, dang it! Just discovered the problem with substr & use of an array (reference) (get the substring from offset of 2 (to the end)). Of course, when I just add a useless wrapper, there is no problem since the arguments of offset & length are passed as scalars. Curses, poxes, and so on, so forth!