Yes, I was setting $a and $b. I dumped the result into a string, which was blank, so I assumed the sub was sending back undefined. However, I went back to check for sure, ended up qualifying the call with its package name, and viola it immediately started working. So thanks for the question. :-)