Thanks everybody pointing out that B is an internal Perl namespace.
Duh! I will refrain from comment on whoever made that choice ...
In addition, I realized that the order in which 'use' and 'use
fields' statements are made is very much significant; if one gets it
wrong, mysterious things
[Blogged about it here: http://netmesh.info/jernst/Technical/perl-
inheritance-problem.html ]
There are three very simple classes in the following code: C is a
subclass of B, which is a subclass of A.
If I try to instantiate B (see last two lines of the code below), I'm
getting this
On 2/22/06, Johannes Ernst [EMAIL PROTECTED] wrote:
If I try to instantiate B (see last two lines of the code below), I'm
getting this output:
Point B: Exporter
Can't locate object method new via package B at madness.pl
line 23.
Did you know that B is a package name used
Johannes Ernst am Donnerstag, 23. Februar 2006 00.19:
[Blogged about it here: http://netmesh.info/jernst/Technical/perl-
inheritance-problem.html ]
There are three very simple classes in the following code: C is a
subclass of B, which is a subclass of A.
If I try to instantiate B (see last