package User; sub find { my ($class, $query) = @_; die("Bad class") if !$class->isa('User'); ... }
Someone would have to put effort into making that condition fail.
In reply to Re^3: caller package and eval
by ikegami
in thread caller package and eval
by josh803316
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |