in reply to Dealing with errors in subroutines

I do stuff like this all the time. I use a list of errors, so () indicates no errors. Personally I don't like exception handling as it moves that code somewhere else, but I do often create an @errors array in most objects. If a method finds an error, a string is shoved errors in that list. At some point in the future I check that array to see if it is empty or not. It is simple enough to work in many situations. And the error handling logic is still fairly close to everything else.

TIMTOWTDI, of course

- doug