I'm personally a fan of $object->errstr, with methods returning 0 on failure. You will either agree or you won't.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
In reply to Re: How to say 'oops' in OOPs?
by hardburn
in thread How to say 'oops' in OOPs?
by Willard B. Trophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |