in reply to Re^3: Code reference problem
in thread Code reference problem

Do you get any message from the compilation error? You might want to throw a use warnings in there as well.

---
It's all fine and dandy until someone has to look at the code.