in reply to Re: displaying package variable from inherited method.
in thread displaying package variable from inherited method.
package Child;
use base 'Parent' ;
sub data { return { one => 1, two => 2 } }
Yes, that's the way I've thought of (see my answer to Joost)... But perhaps I'll dig in the deeper mysteries of tie instead :)
By the way there must be a name for what I'm trying to do, is it "object introspection"?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: displaying package variable from inherited method.
by chromatic (Archbishop) on Jun 10, 2006 at 18:09 UTC | |
by wazoox (Prior) on Jun 10, 2006 at 20:26 UTC | |
by chromatic (Archbishop) on Jun 10, 2006 at 22:55 UTC | |
by wazoox (Prior) on Jun 11, 2006 at 12:57 UTC |