sub id { my $self = shift; my $class = ref $self; no strict 'refs'; return ${'main::'."$class".'::ID'}; }
In reply to Re: Access package variables of subclass from base class
by targetsmart
in thread Access package variables of subclass from base class
by slower
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |