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"?
In reply to Re^2: displaying package variable from inherited method.
by wazoox
in thread displaying package variable from inherited method.
by wazoox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |