Rather than $_[0]->isa I'd write UNIVERSAL::isa($_[0],__PACKAGE__) because if your first argument is "" or "\t", just to give two examples, then your code dies.
- tye (but my friends call me "Tye")In reply to (tye)Re: OO Slip-up Preventor
by tye
in thread OO Slip-up Preventor
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |