Hi Tilly, I have ModuleB included in the code as another file. I still get the following error: Undefined subroutine &ModuleA::new called at script.pl (F) The subroutine indicated hasn't been defined, or if it was, it has since been undefined. The moduleA sub new returns the object. Is this causing the error? I usually end the module with __END__. Please let me know. Bayruds