> "Zach Dennis" <zdennis / mktec.com> writes: >>Is my StatusSingleton overkill? I am trying to consolidate error information >>into one class. What do you think? This reminds me of errno in C. You'll find your program becomes line_of_program if error() { handle it } another_line if error() { handle it } third_line . . . As David said, you may find Exceptions help to keep your code cleaner. See the PickAxe chapter on them. Cheers Dick ( who spent this week writing modperl auth handlers to hook DAV to NetWare and *really* wishes Perl had built-in exceptions).