Would $class = ref($class) || $class || __PACKAGE__; make it work in that case?
In reply to Re^3: Is "ref($class) || $class" a bad thing?
by eric256
in thread Is "ref($class) || $class" a bad thing?
by stvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |