in reply to Re: hash ref package
in thread hash ref package

You are right, as the function was not seen, only the foreach loop stoped working but no (visible) error or warning has been produced. Thanks for pushing me in the right direction. Solved.