You could throw in another case, just to prevent someone from accidentally calling this method with a $self that happens to evaluate to false:
my $class = ref($self) || $self || __PACKAGE__;In reply to Re^3: My globals are visable; but undef'ed
by chromatic
in thread My globals are visable; but undef'ed
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |