package Foo; @ISA = qw(Bar); #### class Bar { string name; public Bar (string name) { this.name = name; } } class Foo : Bar { Hashtable attributes; public Foo (string name, Hashtable attributes) : base(name) { this.attributes = attributes; } }