bayruds has asked for the wisdom of the Perl Monks concerning the following question:
In the moduleAuse SelfLoader; sub sub1; use ModuleA; my $val = new ModuleA;
------------package ModuleA; use SelfLoader; sub new; sub A1; use ModuleB __DATA__ sub new { } sub A1 { }
------------Undefined subroutine &ModuleA::new called at script.pl line 4 (#1) (F) The subroutine indicated hasn't been defined, or if it was, it has + since been undefined.
janitored by ybiC: Balanced <code> tags around codeblock only, as per Monastery convention
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SelfLoader.pm module
by tilly (Archbishop) on Aug 25, 2004 at 01:28 UTC | |
by bayruds (Acolyte) on Aug 25, 2004 at 22:59 UTC | |
by tilly (Archbishop) on Aug 26, 2004 at 01:45 UTC | |
|
Re: SelfLoader.pm module
by jdalbec (Deacon) on Aug 25, 2004 at 01:29 UTC |