in reply to random undefined sub error
What else should I check?
%INC, and naturally the code of the modules you're using