You've just broken polymorphism with your use of ref() and UNIVERSAL::isa(). The correct incantation follows.
defined( blessed( $_[0] ) ) and $_[0]->isa( __PACKAGE__ )⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^2: enabling OO and non-OO access to the same module using a hash reference
by diotalevi
in thread enabling OO and non-OO access to the same module using a hash reference
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |