in reply to Bad Module Code

Don't forget that if called as a method, the first parm will be the invocant (object).

--Bob Niederman, http://bob-n.com