Hi Tilly, I have ModuleB included in the code as another file. I still get th +e 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 u +sually end the module with __END__. Please let me know. Bayruds
In reply to Re^2: SelfLoader.pm module
by bayruds
in thread SelfLoader.pm module
by bayruds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |