in reply to Private and Protected class methods
Be well,package Parent; sub protected_sub { my $me = shift; die unless $me->isa(__PACKAGE__); print $me, " -> Parent::protected_sub$/"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Private and Protected class methods
by chromatic (Archbishop) on Sep 07, 2006 at 05:14 UTC | |
by radiantmatrix (Parson) on Sep 07, 2006 at 14:58 UTC | |
by chromatic (Archbishop) on Sep 07, 2006 at 17:31 UTC |