in reply to Re: Constants and Subclasses...
in thread Constants and Subclasses...
That's not going to work for anything that inherits from ChildClass. It also doesn't work if the inheritance relationship changes after compile-time.
[Added: You also forgot to import &import from Exporter or make the parent class an ISA of Exporter.]
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Constants and Subclasses...
by t'mo (Pilgrim) on Dec 18, 2006 at 20:39 UTC | |
by diotalevi (Canon) on Dec 18, 2006 at 21:12 UTC |