| 1 | package perl5i::2::Meta::Class; | ||
| 2 | |||
| 3 | # Methods here are for $thing->mc->method. | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | use parent qw(perl5i::2::Meta); | ||
| 9 | |||
| 10 | sub class { | ||
| 11 | return ref ${${$_[0]}} ? ref ${${$_[0]}} : ${${$_[0]}}; | ||
| 12 | } | ||
| 13 | |||
| 14 | sub reftype { | ||
| 15 | return; | ||
| 16 | } | ||
| 17 | |||
| 18 | 1; |