Beware.
The problem I have with isa() is that I either need to use the verbose UNIVERSAL::isa( $foo, 'Object::Foo' ) syntax...
Unfortunately, it's completely wrong. See Acme::UNIVERSAL::new if you think it's a good idea.
Wrapping every isa() check in an eval{} seems cumbersome, too.
Tough. If you care about getting the right answer, that's what you need to do. Yes, the syntax is a little clunky, but it will give you the right answer. Nothing else will.
I suppose I could just import isa(), as well.
Not if you care about getting the right answer.
In reply to Re^4: RFC: Perl meta programming
by chromatic
in thread RFC: Perl meta programming
by bennymack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |