Another one... class Foo is Bar;
method a {
setup();
}
1;
# EOF
(Is the 1 still required? I think I heard Damian say it was going away.)
The question is, is this valid, if Bar defines a sub/static method
'setup'?
Is my instict right that 'sub' in a class is a 'class/static method' in
the terminology of other languages?
I'm wondering if the oddly redundant syntax we have now of:
package Foo;
use Bar;
our @ISA = qw(Bar);
sub a {
my $self = shift;
Bar::setup();
}
1;
Can go away.
Trey
